debug events handler

This commit is contained in:
SowinskiBraeden committed 2023-07-01 10:33:41 -07:00
1 parent fb8512a4e9
commit 40798ac738
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -79,6 +79,7 @@ module.exports = {
if (playerStat == undefined) return interaction.send({ embeds: [new EmbedBuilder().setColor(client.config.Colors.Yellow).setDescription(`**Not Found** This gamertag \` ${args[1].value} \` cannot be found, the gamertag may be incorrect or this player has not logged onto the server before for at least \` 5 minutes \`.`)] }); if (playerStat == undefined) return interaction.send({ embeds: [new EmbedBuilder().setColor(client.config.Colors.Yellow).setDescription(`**Not Found** This gamertag \` ${args[1].value} \` cannot be found, the gamertag may be incorrect or this player has not logged onto the server before for at least \` 5 minutes \`.`)] });
let event = { let event = {
type: args[0].name,
name: args[0].options[2].value, name: args[0].options[2].value,
gamertag: args[0].options[0].value, gamertag: args[0].options[0].value,
channel: args[0].options[3].value, channel: args[0].options[3].value,
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "dayz-armbands", "name": "dayz-armbands",
"version": "8.2.4", "version": "8.2.5",
"description": "A General Purpose Discord Bot for DayZ Servers.", "description": "A General Purpose Discord Bot for DayZ Servers.",
"main": "index.js", "main": "index.js",
"nodemonConfig": { "nodemonConfig": {