From c50c24216d0065ceaf7dc07bb5f17f57d8753cf8 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sun, 20 Aug 2023 16:37:36 -0400 Subject: [PATCH] feat(issues): added a proper embed to the /issues command --- issues/issues.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/issues/issues.py b/issues/issues.py index 37f24f4..03ed372 100644 --- a/issues/issues.py +++ b/issues/issues.py @@ -30,7 +30,10 @@ class Issues(commands.Cog): async def issues(self, interaction: discord.Interaction): """Found a bug or have a suggestion for the Galaxy bot? Use this command.""" color = await self.bot.get_embed_color(None) - await interaction.response.send_message(content="Hello world!", view=self.IssueButtons(color, self, interaction), ephemeral=True) + embed = discord.Embed(title="Issue Reporting & Suggestions", color=await self.bot.get_embed_color(None), description="Have a problem or a suggestion for the Galaxy bot or GalaxyCogs? Read this!") + embed.add_field(name="Bot Issues & Suggestions", value="If you'd like to submit a suggestion or a bug report to the developers of the Galaxy bot, please do so with the buttons below or by going [here](https://git.seaswimmer.cc/SeaswimmerTheFsh/GalaxyCogs/issues/new/choose).\n**Please make sure whatever you're suggesting or reporting doesn't have an existing issue! If it does, you can comment on that issue with additional details if necessary.**") + embed.add_field(name="Cog Issues & Suggestions", value="If you'd like to submit a suggestion or a bug report to the developers of GalaxyCogs, please do so with the buttons below or by going [here](https://git.seaswimmer.cc/SeaswimmerTheFsh/GalaxyCogs/issues/new/choose).\n**Please make sure whatever you're suggesting or reporting doesn't have an existing issue! If it does, you can comment on that issue with additional details if necessary.**") + await interaction.response.send_message(embed=embed, view=self.IssueButtons(color, self, interaction), ephemeral=True) async def submit_issue_request(self, interaction: discord.Interaction, original_interaction: discord.Interaction, embed: discord.Embed): channel = self.bot.get_channel(await self.config.request_channel())