1 2 3 4 5 6 7 8 9 10 11 12 13 14 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))