aboutsummaryrefslogtreecommitdiff
path: root/src/commands/info/botInfo.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/info/botInfo.ts')
-rw-r--r--src/commands/info/botInfo.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/info/botInfo.ts b/src/commands/info/botInfo.ts
index 257dc90..ffb785c 100644
--- a/src/commands/info/botInfo.ts
+++ b/src/commands/info/botInfo.ts
@@ -14,8 +14,8 @@ export default class BotInfoCommand extends BushCommand {
examples: ['botinfo']
},
slash: true,
- clientPermissions: ['SEND_MESSAGES', 'EMBED_LINKS'],
- userPermissions: ['SEND_MESSAGES']
+ clientPermissions: (m) => util.clientSendAndPermCheck(m, ['EMBED_LINKS'], true),
+ userPermissions: []
});
}