Actually fix load error
This commit is contained in:
parent
3d51f4e124
commit
d64a82611d
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
|
import jarvis
|
||||||
from discord import User
|
from discord import User
|
||||||
from discord.ext import commands
|
from discord.ext import commands
|
||||||
from jarvis.utils.db import DBManager
|
from jarvis.utils.db import DBManager
|
||||||
from jarvis import config
|
|
||||||
|
|
||||||
|
|
||||||
class AdminCog(commands.Cog):
|
class AdminCog(commands.Cog):
|
||||||
|
@ -13,7 +13,7 @@ class AdminCog(commands.Cog):
|
||||||
|
|
||||||
def __init__(self, bot):
|
def __init__(self, bot):
|
||||||
self.bot = bot
|
self.bot = bot
|
||||||
config = config.get_config()
|
config = jarvis.config.get_config()
|
||||||
self.db = DBManager(config.mongo)
|
self.db = DBManager(config.mongo)
|
||||||
|
|
||||||
@commands.command(name="ban")
|
@commands.command(name="ban")
|
||||||
|
|
Loading…
Add table
Reference in a new issue