Use constant values in commands

This commit is contained in:
Sunpy 2018-02-14 18:16:09 +01:00
parent 0722c91018
commit 08b367812f

View File

@ -1154,7 +1154,7 @@ commands = [
"callback": report "callback": report
}, { }, {
"trigger": "!help", "trigger": "!help",
"response": "Click (here)[https://ripple.moe/index.php?p=16&id=4] for {}'s full command list".format(glob.BOT_NAME) "response": "Click (here)[https://ripple.moe/index.php?p=16&id=4] for the full command list"
}, #{ }, #{
#"trigger": "!ask", #"trigger": "!ask",
#"syntax": "<question>", #"syntax": "<question>",
@ -1187,7 +1187,7 @@ commands = [
"privileges": privileges.ADMIN_KICK_USERS, "privileges": privileges.ADMIN_KICK_USERS,
"callback": kick "callback": kick
}, { }, {
"trigger": "!{} reconnect".format(glob.BOT_NAME.lower()), "trigger": "!bot reconnect",
"privileges": privileges.ADMIN_MANAGE_SERVERS, "privileges": privileges.ADMIN_MANAGE_SERVERS,
"callback": fokabotReconnect "callback": fokabotReconnect
}, { }, {