mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-04-25 07:22:09 -05:00
Moderation: Automatically /allowname unnamelocked names
This commit is contained in:
parent
e026a368b6
commit
dc2f40f5d8
|
|
@ -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: % @ ~`],
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user