From 8d4ac581e7ce6a220b21dfd33cec71c9838ec5a5 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Mon, 13 Mar 2023 23:12:26 -0400 Subject: [PATCH] added galaxy_issues command --- galaxy/galaxy.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/galaxy/galaxy.py b/galaxy/galaxy.py index 28dfdf7..52c2ca2 100644 --- a/galaxy/galaxy.py +++ b/galaxy/galaxy.py @@ -15,6 +15,19 @@ class Galaxy(commands.Cog): cocoemoji = 1028535684757209118 ) + @commands.command() + async def galaxy_issues(self, ctx, target: discord.member = None): + if ctx.me.id == 1070819799254438039: + 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 [here](https://github.com/SeaswimmerTheFsh/GalaxyCogs/issues).\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.**") + else: + embed = discord.Embed(title="Issue Reporting & Suggestions", color=await self.bot.get_embed_color(None), description="Have a problem or a suggestion for GalaxyCogs? Read this!") + 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 [here](https://github.com/SeaswimmerTheFsh/GalaxyCogs/issues).\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.**") + if target: + await ctx.send(embed=embed, contents=f"{target.mention}") + else: + await ctx.send(embed=embed) + @commands.command() async def lwaccess(self, ctx): """You shouldn't be able to see this!"""