Add !ops (alias for !admins)
This commit is contained in:
parent
1aa8641102
commit
f7a0878d03
@ -2762,7 +2762,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."""
|
||||||
admins = []
|
admins = []
|
||||||
|
Loading…
Reference in New Issue
Block a user