Limnoria
Limnoria copied to clipboard
AutoMode: add sync command
There should be something like /msg chanserv sync in Atheme. It would help with people at #limnoria being out of sync with their modes after netsplit or something similar.
***** ChanServ Help *****
Help for SYNC:
The SYNC command will force all channel statuses to flags, giving and taking
away ops, voice and so on where necessary. You must have the channel flag +R to
run this command.
Syntax: SYNC <#channel>
Examples:
/msg ChanServ SYNC #bar
***** End of Help *****
I think it should be in AutoMode instead.
But AutoMode only sets modes and doesn't even contain any commands.
Channel does not set any mode while AutoMode does.
Channel has commands to do so, !op, !deop, !halfop, !dehalfop, !voice, !devoice.
Sync is manual command, which isn't done automatically.
If it was done already, such functionality already exists in Protector.
AutoMode is probably good choice if the command is added and it is already loaded by default by supybot-wizard.
I would like to extend this request by having a supybot.plugins.automode.syncOnOp or similar to have it sync at least mode additions (if not removals, which I think may belong to Protector instead) when gaining op.