from types import SimpleNamespace from typing import Any, cast from discord import AutoShardedBot, Intents from discord.ext import commands, tasks from Christmas.discord import Christmas, load_cogs, apply_uvloop if __name__ == "__main__": bot = Christmas( command_prefix=commands.when_mentioned_or("c!"), case_insensitive=True, intents=Intents.all() ) load_cogs(bot) apply_uvloop() bot.run()