runabot/Christmas/__main__.py

18 lines
509 B
Python
Raw Normal View History

2023-11-25 15:47:09 +00:00
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
if __name__ == "__main__":
bot = Christmas(
command_prefix=commands.when_mentioned_or("c!"),
case_insensitive=True,
allowed_mentions=commands.AllowedMentions(
everyone=False, users=True, roles=False, replied_user=True
),
intents=Intents.all(),
)
bot.run()