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": {