From 025733ed0ca085b4208ac1dde241f03b300d7e94 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Tue, 19 Mar 2024 23:01:21 -0400 Subject: [PATCH] hehe --- commands/util-public/info.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/util-public/info.js b/commands/util-public/info.js index dd6c7784..e1f6b399 100644 --- a/commands/util-public/info.js +++ b/commands/util-public/info.js @@ -21,7 +21,7 @@ module.exports = class InfoCommand extends Command { } async run(msg) { - const invite = this.client.generateInvite({ permissions: 8, scopes: ['bot'] }); + const invite = this.client.generateInvite({ permissions: ['ADMINISTRATOR'], scopes: ['bot'] }); const embed = new MessageEmbed() .setColor(0x00AE86) .setFooter(copyright.join('\n'))