1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-12-25 06:37:29 +00:00

utils.config

This commit is contained in:
Myned 2017-10-13 23:39:12 -04:00
parent 70c863062b
commit ada3aac86a

View file

@ -6,11 +6,10 @@ import discord
from discord.ext import commands from discord.ext import commands
from discord.ext.commands import errors from discord.ext.commands import errors
with open('config.json') as infile: from utils import utils as u
config = json.load(infile)
owner_id = config['owner_id'] owner_id = u.config['owner_id']
listed_ids = config['listed_ids'] listed_ids = u.config['listed_ids']
def is_owner(): def is_owner():