frontend.src.poll_commands.RecallCommands
¶
Contains the cog implementation for recalling an archived poll.
Module Contents¶
Classes¶
Class that represents the cog for handling the /recallpoll command for the bot. |
- class frontend.src.poll_commands.RecallCommands.RecallCommands(bot)¶
Bases:
discord.ext.commands.Cog
Class that represents the cog for handling the /recallpoll command for the bot.
- Args:
bot: The Discord bot to link the cog to
- ctx_parse¶
- async recall_poll(ctx: ctx_parse, poll_name: str)¶
Function to handle the input of the /recallpoll command from the user.
- Args:
ctx: The Discord application context for the bot to send messages with. poll_name: The name of the poll you want to recall