Fix bot arrange on long name
This commit is contained in:
parent
2a96201339
commit
ffb5166e94
|
@ -31,5 +31,5 @@
|
|||
// arrange bots at bottom of list
|
||||
dClient.on('guildMemberAdd', member => {
|
||||
if (member.user.bot)
|
||||
member.setNickname(`\udb40\udc00${member.displayName}`);
|
||||
member.setNickname(`\udb40\udc00${member.displayName}`.substr(0,32));
|
||||
});
|
Loading…
Reference in New Issue