found new char to sort bots
This commit is contained in:
parent
6538381e6d
commit
2fe521b05f
|
@ -50,9 +50,9 @@
|
|||
}*/// didn't work D:
|
||||
|
||||
|
||||
/*// arrange bots at bottom of list
|
||||
// arrange bots at bottom of list
|
||||
(async function(){
|
||||
let prefix = "\udb40\uddf0";//TODO find new chars that aren't filtered
|
||||
let prefix = "\u17b5";
|
||||
let onNick = async member => {
|
||||
if (member.user.bot && !member.displayName.startsWith(prefix))
|
||||
await member.setNickname(`${prefix}${member.displayName}`.substr(0,32));
|
||||
|
@ -61,7 +61,7 @@
|
|||
dClient.on('local_guildMemberUpdate', async (oldMember, newMember) => {
|
||||
if (newMember.displayName != oldMember.displayName) await onNick(newMember);
|
||||
});
|
||||
})();*/
|
||||
})();
|
||||
|
||||
|
||||
// prevent identical display names
|
||||
|
|
Loading…
Reference in New Issue