fix/compare combat rating
This commit is contained in:
2 files changed
+4
-4
No files matched your search
@@ -32,9 +32,9 @@ module.exports = {
|
||||
* @param {string[]} args
|
||||
* @param {*} param3
|
||||
*/
|
||||
run: async (client, interaction, args, { GuildDB }, start) => {
|
||||
let discord = args[1] && args[1].name == 'discord' ? args[1].value : undefined;
|
||||
let gamertag = args[1] && args[1].name == 'gamertag' ? args[1].value : undefined;
|
||||
run: async (client, interaction, args, { GuildDB }) => {
|
||||
let discord = args[0] && args[0].name == 'discord' ? args[0].value : undefined;
|
||||
let gamertag = args[0] && args[0].name == 'gamertag' ? args[0].value : undefined;
|
||||
|
||||
if (!discord && !gamertag) return interaction.send({ embeds: [new EmbedBuilder().setColor(client.config.Colors.Yellow).setDescription(`Please provide a Discord User or Gamertag`)] });
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "dayzr-bot",
|
||||
"version": "12.4.0",
|
||||
"version": "12.4.1",
|
||||
"description": "A General Purpose Discord Bot for DayZ Nitrado Servers.",
|
||||
"main": "index.js",
|
||||
"nodemonConfig": {
|
||||
|
||||
Reference in new issue
Block a user