aboutsummaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/dev/eval.ts2
-rw-r--r--src/commands/dev/servers.ts4
-rw-r--r--src/commands/moderation/removeReactionEmoji.ts2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/commands/dev/eval.ts b/src/commands/dev/eval.ts
index 0de0aa1..f8ba7e1 100644
--- a/src/commands/dev/eval.ts
+++ b/src/commands/dev/eval.ts
@@ -181,7 +181,7 @@ export default class EvalCommand extends BushCommand {
members = message.guild?.members,
roles = message.guild?.roles,
client = this.client,
- { Ban, Global, Guild, Level, ModLog, StickyRole } = await import('@lib'),
+ { ActivePunishment, Global, Guild, Level, ModLog, StickyRole } = await import('@lib'),
{
ButtonInteraction,
Collector,
diff --git a/src/commands/dev/servers.ts b/src/commands/dev/servers.ts
index 08f74e8..3986451 100644
--- a/src/commands/dev/servers.ts
+++ b/src/commands/dev/servers.ts
@@ -4,7 +4,7 @@ import { BushCommand, BushMessage, BushSlashMessage } from '../../lib';
export default class ServersCommand extends BushCommand {
public constructor() {
super('servers', {
- aliases: ['servers'],
+ aliases: ['servers', 'guilds'],
category: 'dev',
description: {
content: 'Displays all the severs the bot is in',
@@ -37,7 +37,7 @@ export default class ServersCommand extends BushCommand {
`**ID:** ${g.id}\n**Owner:** ${owner ? owner : g.ownerId}\n**Members:** ${g.memberCount.toLocaleString()}`,
false
)
- .setTitle('Server List')
+ .setTitle(`Server List [${this.client.guilds.cache.size}]`)
.setColor(this.client.util.colors.default);
});
embeds.push(embed);
diff --git a/src/commands/moderation/removeReactionEmoji.ts b/src/commands/moderation/removeReactionEmoji.ts
index 3d274e1..b0079c6 100644
--- a/src/commands/moderation/removeReactionEmoji.ts
+++ b/src/commands/moderation/removeReactionEmoji.ts
@@ -13,7 +13,7 @@ export default class RemoveReactionEmojiCommand extends BushCommand {
examples: ['removereactionemoji 791413052347252786 <:omegaclown:782630946435366942>']
},
clientPermissions: ['MANAGE_MESSAGES', 'SEND_MESSAGES', 'EMBED_LINKS'],
- userPermissions: ['MANAGE_MESSAGES', 'MANAGE_EMOJIS'], // Can't undo the removal of 1000s of reactions
+ userPermissions: ['MANAGE_MESSAGES', 'MANAGE_EMOJIS_AND_STICKERS'], // Can't undo the removal of 1000s of reactions
args: [
{
id: 'messageToRemoveFrom',