diff options
Diffstat (limited to 'src/commands')
-rw-r--r-- | src/commands/dev/evalCommand.ts (renamed from src/commands/dev/eval.ts) | 0 | ||||
-rw-r--r-- | src/commands/dev/reloadCommand.ts (renamed from src/commands/dev/reload.ts) | 0 | ||||
-rw-r--r-- | src/commands/dev/setLevelCommand.ts (renamed from src/commands/dev/setlevel.ts) | 0 | ||||
-rw-r--r-- | src/commands/info/botInfoCommand.ts (renamed from src/commands/info/botinfo.ts) | 0 | ||||
-rw-r--r-- | src/commands/info/helpCommand.ts (renamed from src/commands/info/help.ts) | 0 | ||||
-rw-r--r-- | src/commands/info/pingCommand.ts (renamed from src/commands/info/ping.ts) | 0 | ||||
-rw-r--r-- | src/commands/info/pronounsCommand.ts (renamed from src/commands/info/pronouns.ts) | 0 | ||||
-rw-r--r-- | src/commands/moderation/banCommand.ts (renamed from src/commands/moderation/ban.ts) | 3 | ||||
-rw-r--r-- | src/commands/moderation/kickCommand.ts (renamed from src/commands/moderation/kick.ts) | 1 | ||||
-rw-r--r-- | src/commands/moderation/modlogCommand.ts (renamed from src/commands/moderation/modlog.ts) | 1 | ||||
-rw-r--r-- | src/commands/moderation/roleCommand.ts (renamed from src/commands/moderation/role.ts) | 2 | ||||
-rw-r--r-- | src/commands/moderation/warnCommand.ts (renamed from src/commands/moderation/warn.ts) | 1 | ||||
-rw-r--r-- | src/commands/moulberry-bush/capePermissionsCommand.ts (renamed from src/commands/moulberry-bush/capeperms.ts) | 4 | ||||
-rw-r--r-- | src/commands/moulberry-bush/giveawayPingCommand.ts (renamed from src/commands/moulberry-bush/giveawayping.ts) | 0 | ||||
-rw-r--r-- | src/commands/moulberry-bush/levelCommand.ts (renamed from src/commands/moulberry-bush/level.ts) | 0 | ||||
-rw-r--r-- | src/commands/moulberry-bush/ruleCommand.ts (renamed from src/commands/moulberry-bush/rule.ts) | 0 | ||||
-rw-r--r-- | src/commands/server-config/prefixCommand.ts (renamed from src/commands/server-config/prefix.ts) | 0 |
17 files changed, 8 insertions, 4 deletions
diff --git a/src/commands/dev/eval.ts b/src/commands/dev/evalCommand.ts index 83e63f6..83e63f6 100644 --- a/src/commands/dev/eval.ts +++ b/src/commands/dev/evalCommand.ts diff --git a/src/commands/dev/reload.ts b/src/commands/dev/reloadCommand.ts index 64e5745..64e5745 100644 --- a/src/commands/dev/reload.ts +++ b/src/commands/dev/reloadCommand.ts diff --git a/src/commands/dev/setlevel.ts b/src/commands/dev/setLevelCommand.ts index d1701c5..d1701c5 100644 --- a/src/commands/dev/setlevel.ts +++ b/src/commands/dev/setLevelCommand.ts diff --git a/src/commands/info/botinfo.ts b/src/commands/info/botInfoCommand.ts index e6a4fbb..e6a4fbb 100644 --- a/src/commands/info/botinfo.ts +++ b/src/commands/info/botInfoCommand.ts diff --git a/src/commands/info/help.ts b/src/commands/info/helpCommand.ts index 30c2a21..30c2a21 100644 --- a/src/commands/info/help.ts +++ b/src/commands/info/helpCommand.ts diff --git a/src/commands/info/ping.ts b/src/commands/info/pingCommand.ts index 62b8e60..62b8e60 100644 --- a/src/commands/info/ping.ts +++ b/src/commands/info/pingCommand.ts diff --git a/src/commands/info/pronouns.ts b/src/commands/info/pronounsCommand.ts index f30a981..f30a981 100644 --- a/src/commands/info/pronouns.ts +++ b/src/commands/info/pronounsCommand.ts diff --git a/src/commands/moderation/ban.ts b/src/commands/moderation/banCommand.ts index 1c3b074..354fc0d 100644 --- a/src/commands/moderation/ban.ts +++ b/src/commands/moderation/banCommand.ts @@ -18,10 +18,11 @@ const durationAliases: Record<string, string[]> = { const durationRegex = /(?:(\d+)(d(?:ays?)?|h(?:ours?|rs?)?|m(?:inutes?|ins?)?|mo(?:nths?)?|w(?:eeks?|ks?)?)(?: |$))/g; -export default class PrefixCommand extends BushCommand { +export default class BanCommand extends BushCommand { constructor() { super('ban', { aliases: ['ban'], + category: "moderation", args: [ { id: 'user', diff --git a/src/commands/moderation/kick.ts b/src/commands/moderation/kickCommand.ts index c21352f..132ca31 100644 --- a/src/commands/moderation/kick.ts +++ b/src/commands/moderation/kickCommand.ts @@ -8,6 +8,7 @@ export default class KickCommand extends BushCommand { constructor() { super('kick', { aliases: ['kick'], + category: "moderation", args: [ { id: 'user', diff --git a/src/commands/moderation/modlog.ts b/src/commands/moderation/modlogCommand.ts index b7923ca..3e394ba 100644 --- a/src/commands/moderation/modlog.ts +++ b/src/commands/moderation/modlogCommand.ts @@ -10,6 +10,7 @@ export default class ModlogCommand extends BushCommand { constructor() { super('modlog', { aliases: ['modlog', 'modlogs'], + category: "moderation", args: [ { id: 'search', diff --git a/src/commands/moderation/role.ts b/src/commands/moderation/roleCommand.ts index 29339a3..04437ba 100644 --- a/src/commands/moderation/role.ts +++ b/src/commands/moderation/roleCommand.ts @@ -42,7 +42,7 @@ export default class RoleCommand extends BushCommand { constructor() { super('role', { aliases: ['role', 'addrole', 'removerole'], - category: "Moulberry's Bush", + category: "moderation", description: { content: "Manages users' roles.", usage: 'role <add|remove> <user> <role>', diff --git a/src/commands/moderation/warn.ts b/src/commands/moderation/warnCommand.ts index e8b1401..ea2d7ee 100644 --- a/src/commands/moderation/warn.ts +++ b/src/commands/moderation/warnCommand.ts @@ -6,6 +6,7 @@ export default class WarnCommand extends BushCommand { public constructor() { super('warn', { aliases: ['warn'], + category: "moderation", userPermissions: ['MANAGE_MESSAGES'], args: [ { diff --git a/src/commands/moulberry-bush/capeperms.ts b/src/commands/moulberry-bush/capePermissionsCommand.ts index 9832083..fdb5caf 100644 --- a/src/commands/moulberry-bush/capeperms.ts +++ b/src/commands/moulberry-bush/capePermissionsCommand.ts @@ -15,7 +15,7 @@ interface User { perms: string[]; } -export default class CapePermsCommand extends BushCommand { +export default class CapePermissionsCommand extends BushCommand { private nameMap = { patreon1: 'Patreon Tier 1', patreon2: 'Patreon Tier 2', @@ -45,7 +45,7 @@ export default class CapePermsCommand extends BushCommand { }; public constructor() { super('capeperms', { - aliases: ['capeperms', 'capeperm'], + aliases: ['capeperms', 'capeperm', 'capepermissions', 'capepermission'], category: "Moulberry's Bush", description: { content: 'A command to see what capes someone has access to.', diff --git a/src/commands/moulberry-bush/giveawayping.ts b/src/commands/moulberry-bush/giveawayPingCommand.ts index e6fdd9a..e6fdd9a 100644 --- a/src/commands/moulberry-bush/giveawayping.ts +++ b/src/commands/moulberry-bush/giveawayPingCommand.ts diff --git a/src/commands/moulberry-bush/level.ts b/src/commands/moulberry-bush/levelCommand.ts index decac8a..decac8a 100644 --- a/src/commands/moulberry-bush/level.ts +++ b/src/commands/moulberry-bush/levelCommand.ts diff --git a/src/commands/moulberry-bush/rule.ts b/src/commands/moulberry-bush/ruleCommand.ts index 69dcb6e..69dcb6e 100644 --- a/src/commands/moulberry-bush/rule.ts +++ b/src/commands/moulberry-bush/ruleCommand.ts diff --git a/src/commands/server-config/prefix.ts b/src/commands/server-config/prefixCommand.ts index ac85922..ac85922 100644 --- a/src/commands/server-config/prefix.ts +++ b/src/commands/server-config/prefixCommand.ts |