diff options
| author | 2021-10-13 22:02:37 -0400 | |
|---|---|---|
| committer | 2022-02-09 18:13:36 -0500 | |
| commit | a4b2facdd51ed7cff7e045e62d12c93797df0e11 (patch) | |
| tree | d6d8d69e5027ffaa7b74b0fa106c4337f8626ced /bot/exts/events/trivianight/trivianight.py | |
| parent | initial commit (diff) | |
organizing score board (scoreboard.py)
Diffstat (limited to 'bot/exts/events/trivianight/trivianight.py')
| -rw-r--r-- | bot/exts/events/trivianight/trivianight.py | 15 | 
1 files changed, 15 insertions, 0 deletions
diff --git a/bot/exts/events/trivianight/trivianight.py b/bot/exts/events/trivianight/trivianight.py new file mode 100644 index 00000000..29a9e3d1 --- /dev/null +++ b/bot/exts/events/trivianight/trivianight.py @@ -0,0 +1,15 @@ +from discord.ext import commands + +from bot.bot import Bot + + +class TriviaNight(commands.Cog): +    """Cog for the Python Trivia Night event.""" + +    def __init__(self, bot: Bot): +        self.bot = bot + + +def setup(bot: Bot) -> None: +    """Load the TriviaNight cog.""" +    bot.add_cog(TriviaNight(bot))  |