1
0
Fork 0
mirror of synced 2024-06-26 18:21:15 +12:00

Added the abilty to have multiple server ID's, if that ever happens

This commit is contained in:
Phxntxm 2016-08-04 09:30:34 -05:00
parent f6bdf056e5
commit 3d83374424
2 changed files with 3 additions and 3 deletions

View file

@ -4,7 +4,7 @@ from . import config
def isOwner(ctx):
return ctx.message.author.id == config.ownerID
return ctx.message.author.id in config.owner_ids
def customPermsOrRole(**perms):

View file

@ -10,13 +10,13 @@ with open("/home/phxntx5/public_html/Bonfire/config.yml", "r") as f:
connection = None
botDescription = global_config.get("description")
commandPrefix = global_config.get("command_prefix")
commandPrefix = global_config.get("command_prefix", "!")
discord_bots_key = global_config.get('discord_bots_key')
battleWins = global_config.get("battleWins", [])
defaultStatus = global_config.get("default_status", "")
botToken = global_config.get("bot_token", "")
ownerID = global_config.get("owner_id", "")
owner_ids = global_config.get("owner_id", [])
def saveContent(key: str, content):