4.1.10 fix command parameters

This commit is contained in:
SowinskiBraeden committed 2022-12-07 17:52:58 -08:00
1 parent f5a7bfcc75
commit 8b49d59a95
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ module.exports = {
* @param {string[]} args * @param {string[]} args
* @param {*} param3 * @param {*} param3
*/ */
run: async (client, interaction, args) => { run: async (client, interaction, args, { GuildDB }) => {
}, },
}, },
+1 -1
View File
@@ -19,7 +19,7 @@ module.exports = {
* @param {string[]} args * @param {string[]} args
* @param {*} param3 * @param {*} param3
*/ */
run: async (client, interaction, args, start) => { run: async (client, interaction, args, { GuildDB }, start) => {
const end = new Date().getTime(); const end = new Date().getTime();
const pingEmbed = new EmbedBuilder() const pingEmbed = new EmbedBuilder()
.setDescription(`🏓 **Pong!** Bot ping: ${end - start}ms`) .setDescription(`🏓 **Pong!** Bot ping: ${end - start}ms`)
+1 -1
View File
@@ -19,7 +19,7 @@ module.exports = {
* @param {string[]} args * @param {string[]} args
* @param {*} param3 * @param {*} param3
*/ */
run: async (client, interaction, args, start) => { run: async (client, interaction, args, { GuildDB }) => {
const end = new Date().getTime(); const end = new Date().getTime();
const stats = new EmbedBuilder() const stats = new EmbedBuilder()
.setColor(client.config.Colors.Default) .setColor(client.config.Colors.Default)
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "dayz-armbands", "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.", "description": "A Discord Bot to handle DayZ server flags and armbands for in game factions.",
"main": "index.js", "main": "index.js",
"nodemonConfig": { "nodemonConfig": {