diff --git a/commands/util-public/info.js b/commands/util-public/info.js index 6d827dd3..00318756 100644 --- a/commands/util-public/info.js +++ b/commands/util-public/info.js @@ -24,7 +24,7 @@ module.exports = class InfoCommand extends Command { } async run(msg) { - const invite = await this.client.generateInvite(permissions); + const invite = await this.client.generateInvite({ permissions }); const repoURL = `https://github.com/${XIAO_GITHUB_REPO_USERNAME}/${XIAO_GITHUB_REPO_NAME}`; const embed = new MessageEmbed() .setColor(0x00AE86) diff --git a/commands/util-public/invite.js b/commands/util-public/invite.js index 61886452..a8cb04e4 100644 --- a/commands/util-public/invite.js +++ b/commands/util-public/invite.js @@ -14,7 +14,7 @@ module.exports = class InviteCommand extends Command { } async run(msg) { - const invite = await this.client.generateInvite(permissions); + const invite = await this.client.generateInvite({ permissions }); return msg.say(stripIndents` Invite me using this link: <${invite}> diff --git a/package.json b/package.json index 8a12f933..a5d15faf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "119.34.3", + "version": "119.34.4", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": { @@ -44,7 +44,7 @@ "discord.js": "^12.4.1", "discord.js-commando": "github:discordjs/Commando", "dotenv": "^8.2.0", - "eslint": "^7.12.0", + "eslint": "^7.12.1", "gifencoder": "^2.0.1", "gm": "^1.23.1", "html-entities": "^1.3.1",