rename examples to templates

This commit is contained in:
Emily 2020-10-28 23:10:36 +11:00
parent f626446e50
commit 30a3067a6c
6 changed files with 9 additions and 15 deletions

View 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
}
};

View file

@ -0,0 +1,9 @@
module.exports = class {
constructor (wsEvent) {
this.wsEvent = wsEvent;
}
async run (client) { //eslint-disable-line no-unused-vars
}
};

View 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)
);

View file

@ -0,0 +1,5 @@
CREATE TABLE members(
member_id varchar(37),
experience bigint DEFAULT 0,
PRIMARY KEY (member_id)
);

View 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)
);