Added admin command, cleaned up file
This commit is contained in:
parent
54d84dcd09
commit
fbd36b47be
|
@ -8,6 +8,18 @@ import sys
|
|||
import subprocess
|
||||
import time
|
||||
|
||||
|
||||
@hook.command("owners", autohelp = False)
|
||||
@hook.command(autohelp = False)
|
||||
def admins(inp, bot = None):
|
||||
admins = str(bot.config["admins"])
|
||||
admins = admins.replace("u'", "")
|
||||
admins = admins.replace("'", "")
|
||||
admins = admins.replace("[", "")
|
||||
admins = admins.replace("]", "")
|
||||
return admins
|
||||
|
||||
|
||||
@hook.command("quit", autohelp = False)
|
||||
@hook.command("exit", autohelp = False)
|
||||
@hook.command(autohelp = False)
|
||||
|
|
Reference in a new issue