diff options
Diffstat (limited to 'code/cogs/modals.py')
-rw-r--r-- | code/cogs/modals.py | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/code/cogs/modals.py b/code/cogs/modals.py deleted file mode 100644 index 390bbda..0000000 --- a/code/cogs/modals.py +++ /dev/null @@ -1,25 +0,0 @@ -import discord -from discord import app_commands -from discord.ext import commands - -from bug_report import BugReport -from feedback import FeedbackForm - - -class Modals(commands.Cog): - def __init__(self, bot): - self.bot = bot - - @app_commands.command() - async def bug(self, interaction: discord.Interaction): - "Send a bug report to the developer" - await interaction.response.send_modal(BugReport(self.bot)) - - @app_commands.command() - async def feedback(self, interaction: discord.Interaction): - "Send bot feeback to the developer" - await interaction.response.send_modal(FeedbackForm(self.bot)) - - -async def setup(bot): - await bot.add_cog(Modals(bot)) |