Moderation: Automatically /allowname unnamelocked names

This commit is contained in:
Mia 2024-12-30 20:19:35 -06:00
parent e026a368b6
commit dc2f40f5d8

View File

@ -2002,6 +2002,7 @@ export const commands: Chat.ChatCommands = {
this.addGlobalModAction(`${unlocked} was unnamelocked by ${user.name}.${reason}`);
this.globalModlog("UNNAMELOCK", toID(target));
this.parse(`/allowname ${toID(target)}`);
if (targetUser) targetUser.popup(`${user.name} has unnamelocked you.`);
},
unnamelockhelp: [`/unnamelock [username] - Unnamelocks the user. Requires: % @ ~`],