diff options
| author | pokesudenk <thisis@notarealema.il> | 2018-02-25 13:17:26 -0500 |
|---|---|---|
| committer | pokesudenk <thisis@notarealema.il> | 2018-02-25 13:17:26 -0500 |
| commit | 886d56a33de06b09772097a7fb5a7cd8f7023987 (patch) | |
| tree | 793cc956f70b8163c1169def056ab5f9769d4d61 /commands | |
| parent | ea674831bf2139fa295f6c9d532036354bb36f1e (diff) | |
| download | PokeBot-0.2.5.tar.gz PokeBot-0.2.5.tar.bz2 PokeBot-0.2.5.zip | |
fixing tradegym plugin AGAINv0.2.5
i am dimb
Diffstat (limited to 'commands')
| -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!'); |
