From 886d56a33de06b09772097a7fb5a7cd8f7023987 Mon Sep 17 00:00:00 2001 From: pokesudenk Date: Sun, 25 Feb 2018 13:17:26 -0500 Subject: [PATCH] fixing tradegym plugin AGAIN i am dimb --- commands/Pokemon/tradegym.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!');