diff --git a/commands/utility/about.js b/commands/utility/about.js index ed9d6a8..7ba49f9 100644 --- a/commands/utility/about.js +++ b/commands/utility/about.js @@ -26,8 +26,8 @@ class aboutCommand extends Command { if (Donator[0]) { for (let i = 0; i < Donator.length; i++) { - if (this.client.users.resolve(Donator[i].get('userID')) !== null) - description += `**${this.client.users.resolve(Donator[i].get('userID')).tag} (${Donator[i].get('userID')}) | ${Donator[i].get('comment')}**\n`; + if (this.client.users.resolve(Donator[i].get('userID').toString()) !== null) + description += `**${this.client.users.resolve(Donator[i].get('userID').toString()).tag} (${Donator[i].get('userID')}) | ${Donator[i].get('comment')}**\n`; else description += `**A user of discord (${Donator[i].get('userID')}) | ${Donator[i].get('comment')} (This user no longer share a server with the bot)**\n`; } diff --git a/commands/utility/donator.js b/commands/utility/donator.js index e691a2e..f5cebd3 100644 --- a/commands/utility/donator.js +++ b/commands/utility/donator.js @@ -22,8 +22,8 @@ class donatorCommand extends Command { if (Donator[0]) { for (let i = 0; i < Donator.length; i++) { - if (this.client.users.resolve(Donator[i].get('userID')) !== null) - donatorMessage += `**${this.client.users.resolve(Donator[i].get('userID')).tag} (${Donator[i].get('userID')}) | ${Donator[i].get('comment')}**\n`; + if (this.client.users.resolve(Donator[i].get('userID').toString()) !== null) + donatorMessage += `**${this.client.users.resolve(Donator[i].get('userID').toString()).tag} (${Donator[i].get('userID')}) | ${Donator[i].get('comment')}**\n`; else donatorMessage += `**A user of discord (${Donator[i].get('userID')}) | ${Donator[i].get('comment')} (This user no longer share a server with the bot)**\n`;