aboutsummaryrefslogtreecommitdiff
path: root/code/cogs/modals.py
diff options
context:
space:
mode:
authorParker <contact@pkrm.dev>2024-04-02 16:16:47 -0500
committerParker <contact@pkrm.dev>2024-04-02 16:16:47 -0500
commitb6cbac40509a37751f9a027cdae6b69cd86aaf00 (patch)
tree17ec0a927c637015e5e1cba3d43e9af6ecb8fb21 /code/cogs/modals.py
parente38ed487ae0914888e12f2ce4d1283f5e3ea50f7 (diff)
Combine forms into 1 file
Diffstat (limited to 'code/cogs/modals.py')
-rw-r--r--code/cogs/modals.py25
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))