disable broken bot sort

This commit is contained in:
Lamp 2019-10-12 16:51:57 -07:00 committed by GitHub
parent 2be4884dc9
commit f6c71c94bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -48,9 +48,9 @@
}*/// didn't work D:
// arrange bots at bottom of list
/*// arrange bots at bottom of list
(async function(){
let prefix = "\udb40\uddf0";
let prefix = "\udb40\uddf0";//TODO find new chars that aren't filtered
let onNick = async member => {
if (member.user.bot && !member.displayName.startsWith(prefix))
await member.setNickname(`${prefix}${member.displayName}`.substr(0,32));
@ -59,7 +59,7 @@
dClient.on('local_guildMemberUpdate', async (oldMember, newMember) => {
if (newMember.displayName != oldMember.displayName) await onNick(newMember);
});
})();
})();*/
// prevent identical display names