Rename to render example

This commit is contained in:
Jiiks 2018-08-26 17:38:22 +03:00
parent 6d8ef35bd6
commit b18559aa5e
4 changed files with 3 additions and 5 deletions

View File

@ -1,7 +1,7 @@
{
"info": {
"id": "custom-elements",
"name": "Custom Elements Example",
"id": "render-example",
"name": "Render Example",
"authors": [
{
"name": "Jiiks",
@ -11,7 +11,7 @@
}
],
"version": 1.0,
"description": "Custom Elements Description"
"description": "Example for rendering stuff"
},
"main": "index.js"
}

View File

@ -16,7 +16,6 @@ module.exports = (Plugin, Api, Vendor) => {
return class extends Plugin {
async onStart() {
Logger.log('Custom Elements Example Started');
this.injectStyle();
this.patchGuildTextChannel();
this.patchMessages();
@ -24,7 +23,6 @@ module.exports = (Plugin, Api, Vendor) => {
}
async onStop() {
Logger.log('Custom Elements Example Stopped');
// The automatic unpatcher is not there yet
Patcher.unpatchAll();
CssUtils.deleteAllStyles();