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

View File

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