runabot/Christmas/__main__.py
2023-11-26 13:27:34 +09:00

18 lines
439 B
Python

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()