mirror of
https://github.com/myned/modufur.git
synced 2024-12-24 14:27:27 +00:00
utils.config
This commit is contained in:
parent
70c863062b
commit
ada3aac86a
1 changed files with 3 additions and 4 deletions
|
@ -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():
|
||||||
|
|
Loading…
Reference in a new issue