4.1.10 fix command parameters
This commit is contained in:
4 files changed
+4
-4
No files matched your search
@@ -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
@@ -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
@@ -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
@@ -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": {
|
||||||
|
|||||||
Reference in new issue
Block a user