From 0d2e0528bd929a3874df3ccdd7cac3c94a0aa2e7 Mon Sep 17 00:00:00 2001 From: Jonathan Selle Date: Thu, 6 Aug 2020 16:15:05 +0200 Subject: [PATCH] some minor correction --- src/commands/bot.js | 1 + src/commands/poll.js | 3 ++- src/database/categoryRole.js | 8 ++++++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/commands/bot.js b/src/commands/bot.js index 1b6f32b..718fb5c 100644 --- a/src/commands/bot.js +++ b/src/commands/bot.js @@ -4,6 +4,7 @@ module.exports = bot => { { description: "Get db version", fullDescription: "Get the database version.", + hidden: true, requirements: { custom: msg => { return msg.channel.permissionsOf(msg.member.id).has("administrator") diff --git a/src/commands/poll.js b/src/commands/poll.js index c73a10a..efc3bed 100644 --- a/src/commands/poll.js +++ b/src/commands/poll.js @@ -1,6 +1,7 @@ module.exports = bot => { bot.registerCommand("poll", "POLLS !!!", { description: "Manage polls", - fullDescription: "This command can be used to manage polls." + fullDescription: "This command can be used to manage polls.", + hidden: true }); } diff --git a/src/database/categoryRole.js b/src/database/categoryRole.js index bd40d19..9640db4 100644 --- a/src/database/categoryRole.js +++ b/src/database/categoryRole.js @@ -14,6 +14,14 @@ create table if not exists categoryRole ( `), 3: async () => { await this.create("728334680306352190", "727116447989497866") + }, + 4: async () => { + await this.create("728334429369532428", "726835758542880800") //GD + await this.create("728334429369532428", "726871073920122962") //LD/UX + await this.create("728334614564831364", "726140165734793216") //prog + await this.create("728334720722796575", "726140280478236704") //art + await this.create("728334752716816589", "726141709028819024") //scenar + await this.create("728334773600125018", "726140349361422337") //son } } } -- GitLab