|
|
@ -2,7 +2,7 @@ import json |
|
|
|
import logging |
|
|
|
import logging |
|
|
|
|
|
|
|
|
|
|
|
import discord |
|
|
|
import discord |
|
|
|
from d4dj_utils.manager.asset_manager import AssetManager |
|
|
|
from d4dj_utils.master.asset_manager import AssetManager |
|
|
|
|
|
|
|
|
|
|
|
from miyu_bot.bot.bot import D4DJBot |
|
|
|
from miyu_bot.bot.bot import D4DJBot |
|
|
|
from miyu_bot.bot.master_asset_manager import MasterFilterManager |
|
|
|
from miyu_bot.bot.master_asset_manager import MasterFilterManager |
|
|
@ -13,7 +13,7 @@ with open('config.json') as f: |
|
|
|
bot_token = json.load(f)['token'] |
|
|
|
bot_token = json.load(f)['token'] |
|
|
|
|
|
|
|
|
|
|
|
asset_manager = AssetManager('assets') |
|
|
|
asset_manager = AssetManager('assets') |
|
|
|
bot = D4DJBot(asset_manager, MasterFilterManager(asset_manager), command_prefix='!', case_insensitive=True, |
|
|
|
bot = D4DJBot(asset_manager, MasterFilterManager(asset_manager), command_prefix='?', case_insensitive=True, |
|
|
|
activity=discord.Game(name='https://discord.gg/TThMwrAZTR')) |
|
|
|
activity=discord.Game(name='https://discord.gg/TThMwrAZTR')) |
|
|
|
|
|
|
|
|
|
|
|
bot.load_extension('miyu_bot.commands.cogs.card') |
|
|
|
bot.load_extension('miyu_bot.commands.cogs.card') |
|
|
|