rename examples to templates
This commit is contained in:
parent
f626446e50
commit
30a3067a6c
6 changed files with 9 additions and 15 deletions
21
templates/exampleCommand.js
Normal file
21
templates/exampleCommand.js
Normal file
|
@ -0,0 +1,21 @@
|
|||
module.exports = class {
|
||||
constructor (name, category) {
|
||||
this.name = name,
|
||||
this.category = category,
|
||||
this.enabled = true,
|
||||
this.devOnly = false,
|
||||
this.aliases = [],
|
||||
this.userPerms = [],
|
||||
this.botPerms = [],
|
||||
this.cooldown = 2000,
|
||||
this.help = {
|
||||
description: 'description',
|
||||
usage: 'usage',
|
||||
examples: 'examples'
|
||||
};
|
||||
}
|
||||
|
||||
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
|
||||
|
||||
}
|
||||
};
|
17
templates/schemas/guilds.sql
Normal file
17
templates/schemas/guilds.sql
Normal file
|
@ -0,0 +1,17 @@
|
|||
CREATE TABLE guilds(
|
||||
guild_id bigint,
|
||||
prefix text DEFAULT '~',
|
||||
mutedRole bigint DEFAULT NULL,
|
||||
autorole bigint DEFAULT NULL,
|
||||
welcomeChannel bigint DEFAULT NULL,
|
||||
welcomeMessage varchar(2000) DEFAULT 'Hey there {{user}}, and welcome to {{server}}!',
|
||||
leaveChannel bigint DEFAULT NULL,
|
||||
leaveMessage varchar(2000) DEFAULT 'See you around, {{user}}.',
|
||||
chatlogsChannel bigint DEFAULT NULL,
|
||||
modlogsChannel bigint DEFAULT NULL,
|
||||
starboardChannel bigint DEFAULT NULL,
|
||||
blacklist bigint[] DEFAULT '{}',
|
||||
disabledCommands text[] DEFAULT '{}',
|
||||
disabledCategories text[] DEFAULT '{}',
|
||||
PRIMARY KEY (guild_id)
|
||||
);
|
5
templates/schemas/members.sql
Normal file
5
templates/schemas/members.sql
Normal file
|
@ -0,0 +1,5 @@
|
|||
CREATE TABLE members(
|
||||
member_id varchar(37),
|
||||
experience bigint DEFAULT 0,
|
||||
PRIMARY KEY (member_id)
|
||||
);
|
10
templates/schemas/users.sql
Normal file
10
templates/schemas/users.sql
Normal file
|
@ -0,0 +1,10 @@
|
|||
CREATE TABLE users(
|
||||
user_id bigint DEFAULT NULL,
|
||||
prefix text DEFAULT '~',
|
||||
experience bigint DEFAULT 0,
|
||||
seashells bigint DEFAULT 0,
|
||||
relationships bigint[] DEFAULT '{}',
|
||||
pronouns text DEFAULT NULL,
|
||||
colour text DEFAULT NULL,
|
||||
PRIMARY KEY (user_id)
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue