Add "voice" category

This commit is contained in:
Supositware 2022-09-23 19:41:07 +02:00
parent 9dd060aa28
commit 91b3b6bc1e
3 changed files with 3 additions and 0 deletions

View file

@ -144,6 +144,7 @@ export default {
utility: '🔩\u2000Utility', utility: '🔩\u2000Utility',
admin: '⚡\u2000Admin', admin: '⚡\u2000Admin',
owner: '🛠️\u2000Owner', owner: '🛠️\u2000Owner',
voice: '🗣️\u2000Voice',
}[category]; }[category];
embed.addFields({ name: title, value: `\`${object[category].join('` `')}\`` }); embed.addFields({ name: title, value: `\`${object[category].join('` `')}\`` });

View file

@ -20,6 +20,7 @@ client.commands = new Collection();
await loadCommandFromDir('fun'); await loadCommandFromDir('fun');
await loadCommandFromDir('secret'); await loadCommandFromDir('secret');
await loadCommandFromDir('utility'); await loadCommandFromDir('utility');
await loadCommandFromDir('voice');
await loadCommandFromDir('admin'); await loadCommandFromDir('admin');
await loadCommandFromDir('owner'); await loadCommandFromDir('owner');

View file

@ -14,6 +14,7 @@ const commands = [];
await loadCommandFromDir('fun'); await loadCommandFromDir('fun');
await loadCommandFromDir('secret'); await loadCommandFromDir('secret');
await loadCommandFromDir('utility'); await loadCommandFromDir('utility');
await loadCommandFromDir('voice');
await loadCommandFromDir('admin'); await loadCommandFromDir('admin');
await loadCommandFromDir('owner'); await loadCommandFromDir('owner');
commands.map(command => command.toJSON()); commands.map(command => command.toJSON());