Auto arrange bots

This commit is contained in:
Lamp 2018-09-01 13:27:56 -07:00
parent cf33158b43
commit 2a96201339
No known key found for this signature in database
GPG Key ID: 0F1F8704BEDE369E
1 changed files with 7 additions and 0 deletions

View File

@ -26,3 +26,10 @@
} }
}); });
})(); })();
// arrange bots at bottom of list
dClient.on('guildMemberAdd', member => {
if (member.user.bot)
member.setNickname(`\udb40\udc00${member.displayName}`);
});