diff options
Diffstat (limited to 'commands/Pokemon/tradegym.js')
| -rw-r--r-- | commands/Pokemon/tradegym.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/Pokemon/tradegym.js b/commands/Pokemon/tradegym.js index 7ce3664..17ca6f4 100644 --- a/commands/Pokemon/tradegym.js +++ b/commands/Pokemon/tradegym.js @@ -34,7 +34,7 @@ exports.run = async (bot, msg, args) => { if (recipient.roles.find('name', 'Aqua')) recipientTeam = 'Aqua'; if (recipient.roles.find('name', 'Rocket')) recipientTeam = 'Rocket'; if (recipient.roles.find('name', 'Magma')) recipientTeam = 'Magma'; - msg.channel.setTopic('Current Owner: ' + recipient.id + '/' + recipient.tag + '/' + recipientTeam); + msg.channel.setTopic('Current Owner: ' + recipient.id + '/' + recipient.user.tag + '/' + recipientTeam); } else { msg.reply('You have to own the gym to be able to trade it!'); |
