forked from Supositware/Haha-Yes
fix nickname thing
This commit is contained in:
parent
63515aa73a
commit
35378dfa07
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class fakebotCommand extends Command {
|
||||||
url = Attachment[0].url;
|
url = Attachment[0].url;
|
||||||
}
|
}
|
||||||
// Show nickname if user is in guild
|
// Show nickname if user is in guild
|
||||||
if (message.guild.members.get(args.user.id)) {
|
if (message.guild.members.get(args.user.id).nickname) {
|
||||||
username = message.guild.members.get(args.user.id).nickname;
|
username = message.guild.members.get(args.user.id).nickname;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue