import discord from configmanager import ConfigManager, LoggingManager intents = discord.Intents.default() intents.members = True bot = discord.Bot(intents=intents) token = ConfigManager.get()['Bot']['Token'] class Kiafumi(discord.Bot): @bot.event async def on_ready(): LoggingManager.log.info(f'Logged on as {bot.user}!') for ext in ['commands.fun', 'commands.moderation']: bot.load_extension(ext) bot.run(token) # token