Closed bensmrs closed 6 years ago
Using message.author.nick if message.author.nick else message.author.name instead of message.author.name allows the bot to use an user's nickname, provided he defined it.
message.author.nick if message.author.nick else message.author.name
message.author.name
Using
message.author.nick if message.author.nick else message.author.name
instead ofmessage.author.name
allows the bot to use an user's nickname, provided he defined it.