Added user name for debug

This commit is contained in:
Norbi Peti 2016-12-01 22:52:06 +01:00
parent b284bdf148
commit e4871b2785

View file

@ -73,8 +73,8 @@ public class UserinfoCommand extends DiscordCommandBase {
}
}
if (!found)
DiscordPlugin.sendMessageToChannel(message.getChannel(),
"The user is not found in our system (player has to be on the MC server for now)!");
DiscordPlugin.sendMessageToChannel(message.getChannel(), "The user (" + target.getName()
+ ") is not found in our system (player has to be on the MC server for now)!");
}
private List<IUser> getUsers(IMessage message, String args) {