✨ Made the plex functions use buttons
This commit is contained in:
@ -34,6 +34,11 @@ class EventCog(commands.Cog):
|
||||
"""Handle when someone reacts to a message."""
|
||||
await self.bot.event_handler.on_reaction_add(reaction, user)
|
||||
|
||||
@commands.Cog.listener()
|
||||
async def on_component(self, ctx):
|
||||
"""Handle when someone reacts to a message."""
|
||||
await self.bot.event_handler.on_component(ctx)
|
||||
|
||||
|
||||
def setup(bot):
|
||||
"""Add the eventcog to the bot."""
|
||||
|
Reference in New Issue
Block a user