From 2120638af5e37a0e09ccf36c4221aee48d91896c Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Tue, 19 Mar 2024 22:50:40 -0400 Subject: [PATCH] Hmm --- 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 63a9e23a..d5854399 100644 --- a/commands/util-public/info.js +++ b/commands/util-public/info.js @@ -22,7 +22,7 @@ module.exports = class InfoCommand extends Command { } async run(msg) { - const invite = await this.client.generateInvite({ permissions, scope: 'bot' }); + const invite = await this.client.generateInvite({ permissions, scopes: ['bot'] }); const embed = new MessageEmbed() .setColor(0x00AE86) .setFooter(copyright.join('\n'))