Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

Commit

Permalink
fixing tradegym plugin AGAIN
Browse files Browse the repository at this point in the history
i am dimb
  • Loading branch information
pokesudenk committed Feb 25, 2018
1 parent ea67483 commit 886d56a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/Pokemon/tradegym.js
Original file line number Diff line number Diff line change
Expand Up @@ -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!');
Expand Down

0 comments on commit 886d56a

Please sign in to comment.