Add !ops (alias for !admins)

This commit is contained in:
nyuszika7h 2014-03-27 15:58:45 +01:00
parent 1aa8641102
commit f7a0878d03

View File

@ -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 = []