diff options
Diffstat (limited to 'code/cogs/modals.py')
-rw-r--r-- | code/cogs/modals.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/code/cogs/modals.py b/code/cogs/modals.py index 999f3da..390bbda 100644 --- a/code/cogs/modals.py +++ b/code/cogs/modals.py @@ -2,6 +2,7 @@ import discord from discord import app_commands from discord.ext import commands +from bug_report import BugReport from feedback import FeedbackForm @@ -10,6 +11,11 @@ class Modals(commands.Cog): 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)) |