From 8b49d59a952bfbb58941364d887ee8f8848f0bc2 Mon Sep 17 00:00:00 2001 From: SowinskiBraeden Date: Wed, 7 Dec 2022 17:52:58 -0800 Subject: [PATCH] 4.1.10 fix command parameters --- commands/channels.js | 2 +- commands/ping.js | 2 +- commands/stats.js | 2 +- package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/commands/channels.js b/commands/channels.js index 4606fd3..77c29f5 100644 --- a/commands/channels.js +++ b/commands/channels.js @@ -19,7 +19,7 @@ module.exports = { * @param {string[]} args * @param {*} param3 */ - run: async (client, interaction, args) => { + run: async (client, interaction, args, { GuildDB }) => { }, }, diff --git a/commands/ping.js b/commands/ping.js index 0644375..ffa1d81 100644 --- a/commands/ping.js +++ b/commands/ping.js @@ -19,7 +19,7 @@ module.exports = { * @param {string[]} args * @param {*} param3 */ - run: async (client, interaction, args, start) => { + run: async (client, interaction, args, { GuildDB }, start) => { const end = new Date().getTime(); const pingEmbed = new EmbedBuilder() .setDescription(`🏓 **Pong!** Bot ping: ${end - start}ms`) diff --git a/commands/stats.js b/commands/stats.js index 8ef222c..51094b0 100644 --- a/commands/stats.js +++ b/commands/stats.js @@ -19,7 +19,7 @@ module.exports = { * @param {string[]} args * @param {*} param3 */ - run: async (client, interaction, args, start) => { + run: async (client, interaction, args, { GuildDB }) => { const end = new Date().getTime(); const stats = new EmbedBuilder() .setColor(client.config.Colors.Default) diff --git a/package.json b/package.json index feb9285..170b4c7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dayz-armbands", - "version": "4.1.9", + "version": "4.1.10", "description": "A Discord Bot to handle DayZ server flags and armbands for in game factions.", "main": "index.js", "nodemonConfig": {