Utility bot for rhythm game D4DJ. (Note that some dependencies are not public)
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
from d4dj_utils.master.asset_manager import AssetManager
|
|
|
|
from discord.ext import commands
|
|
|
|
|
|
|
|
from miyu_bot.bot.master_asset_manager import MasterFilterManager
|
|
|
|
from miyu_bot.bot.name_aliases import NameAliases
|
|
|
|
|
|
|
|
|
|
|
|
class D4DJBot(commands.Bot):
|
|
|
|
assets: AssetManager
|
|
|
|
asset_filters: MasterFilterManager
|
|
|
|
aliases: NameAliases
|
|
|
|
|
|
|
|
asset_url = 'https://qwewqa.github.io/d4dj-dumps/'
|
|
|
|
|
|
|
|
def __init__(self, assets, asset_filters, *args, **kwargs):
|
|
|
|
self.assets = assets
|
|
|
|
self.asset_filters = asset_filters
|
|
|
|
self.aliases = NameAliases(assets)
|
|
|
|
super().__init__(*args, **kwargs)
|