aboutsummaryrefslogtreecommitdiff
path: root/commands/Pokemon
diff options
context:
space:
mode:
authorpokesudenk <thisis@notarealema.il>2018-02-25 13:17:26 -0500
committerpokesudenk <thisis@notarealema.il>2018-02-25 13:17:26 -0500
commit886d56a33de06b09772097a7fb5a7cd8f7023987 (patch)
tree793cc956f70b8163c1169def056ab5f9769d4d61 /commands/Pokemon
parentea674831bf2139fa295f6c9d532036354bb36f1e (diff)
downloadPokeBot-886d56a33de06b09772097a7fb5a7cd8f7023987.tar.gz
PokeBot-886d56a33de06b09772097a7fb5a7cd8f7023987.tar.bz2
PokeBot-886d56a33de06b09772097a7fb5a7cd8f7023987.zip
fixing tradegym plugin AGAINv0.2.5
i am dimb
Diffstat (limited to 'commands/Pokemon')
-rw-r--r--commands/Pokemon/tradegym.js2
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!');