rename examples to templates
This commit is contained in:
parent
f626446e50
commit
30a3067a6c
6 changed files with 9 additions and 15 deletions
|
@ -1,13 +0,0 @@
|
||||||
/* eslint-disable */
|
|
||||||
|
|
||||||
// Don't modify any constructor variables here
|
|
||||||
module.exports = class {
|
|
||||||
constructor (wsEvent) {
|
|
||||||
this.wsEvent = wsEvent;
|
|
||||||
}
|
|
||||||
|
|
||||||
// The main function that is called by the event listener when this event is emitted
|
|
||||||
async run (client) {
|
|
||||||
|
|
||||||
}
|
|
||||||
};
|
|
|
@ -1,4 +1,3 @@
|
||||||
// Don't modify the name or category variables, they are set automatically by the loaders.
|
|
||||||
module.exports = class {
|
module.exports = class {
|
||||||
constructor (name, category) {
|
constructor (name, category) {
|
||||||
this.name = name,
|
this.name = name,
|
||||||
|
@ -16,7 +15,6 @@ module.exports = class {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// Main function that is called by the message handler when the command is executed
|
|
||||||
run (client, message, args, data) { //eslint-disable-line no-unused-vars
|
run (client, message, args, data) { //eslint-disable-line no-unused-vars
|
||||||
|
|
||||||
}
|
}
|
9
templates/exampleEvent.js
Normal file
9
templates/exampleEvent.js
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
module.exports = class {
|
||||||
|
constructor (wsEvent) {
|
||||||
|
this.wsEvent = wsEvent;
|
||||||
|
}
|
||||||
|
|
||||||
|
async run (client) { //eslint-disable-line no-unused-vars
|
||||||
|
|
||||||
|
}
|
||||||
|
};
|
Loading…
Reference in a new issue