mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-04-24 15:00:11 -05:00
Room-settings: Make /automodchat support modchat autoconfirmed
This commit is contained in:
parent
6041ef32f7
commit
4d142b8225
|
|
@ -185,7 +185,7 @@ export const commands: Chat.ChatCommands = {
|
|||
return this.parse(`/help automodchat`);
|
||||
}
|
||||
}
|
||||
const validGroups = [...Config.groupsranking as string[], 'trusted'];
|
||||
const validGroups = [...Config.groupsranking as string[], 'trusted', 'autoconfirmed'];
|
||||
if (!validGroups.includes(rank)) {
|
||||
return this.errorReply(`Invalid rank.`);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user