Re-add !ops alias for !admins for now
This commit is contained in:
parent
4e31c7d621
commit
3bb280a6b2
@ -5425,7 +5425,7 @@ def is_admin(cloak):
|
|||||||
return bool([ptn for ptn in botconfig.OWNERS+botconfig.ADMINS if fnmatch.fnmatch(cloak.lower(), ptn.lower())])
|
return bool([ptn for ptn in botconfig.OWNERS+botconfig.ADMINS if fnmatch.fnmatch(cloak.lower(), ptn.lower())])
|
||||||
|
|
||||||
|
|
||||||
@cmd("admins")
|
@cmd("admins", "ops")
|
||||||
def show_admins(cli, nick, chan, rest):
|
def show_admins(cli, nick, chan, rest):
|
||||||
"""Pings the admins that are available."""
|
"""Pings the admins that are available."""
|
||||||
|
|
||||||
@ -5476,7 +5476,7 @@ def show_admins(cli, nick, chan, rest):
|
|||||||
cli.who(botconfig.CHANNEL)
|
cli.who(botconfig.CHANNEL)
|
||||||
|
|
||||||
|
|
||||||
@pmcmd("admins")
|
@pmcmd("admins", "ops")
|
||||||
def show_admins_pm(cli, nick, rest):
|
def show_admins_pm(cli, nick, rest):
|
||||||
show_admins(cli, nick, nick, rest)
|
show_admins(cli, nick, nick, rest)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user