debug location command

This commit is contained in:
SowinskiBraeden committed 2023-06-30 11:15:59 -07:00
1 parent 03560f11cf
commit 420ab666b1
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -32,8 +32,8 @@ module.exports = {
});
}
let playerStat = GuildDB.playerstats.find(stat => stat.discordID == interaction.member.userID );
if (playerStat == undefined) return interaction.send({ embeds: [new EmbedBuilder().setColor(client.config.Colors.Yellow).setDescription(`**Not Found** You haven't linked your gamertag and are unable to use this command.`)] });
let playerStat = GuildDB.playerstats.find(stat => stat.discordID == interaction.member.user.id );
if (playerStat == undefined) return interaction.send({ embeds: [new EmbedBuilder().setColor(client.config.Colors.Yellow).setDescription(`**Not Found** You haven't linked your gamertag and are unable to use this command.`)], flags: (1 << 6) });
let newDt = await client.getDateEST(playerStat.time);
let unixTime = Math.floor(newDt.getTime()/1000);