From 6d41ea67e22d937f30f70cf134f043cb0b1aa37e Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh <102361830+SeaswimmerTheFsh@users.noreply.github.com> Date: Tue, 14 Mar 2023 18:29:25 -0400 Subject: [PATCH] Update galaxy.py made sure galaxy.py is identical to the main branch version in sugoncredit_sql --- galaxy/galaxy.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/galaxy/galaxy.py b/galaxy/galaxy.py index 7046ba4..3843dff 100644 --- a/galaxy/galaxy.py +++ b/galaxy/galaxy.py @@ -14,6 +14,19 @@ class Galaxy(commands.Cog): cocoemoji = 1028535684757209118 ) + @commands.command() + async def galaxyissues(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, content=f"{target.mention}") + else: + await ctx.send(embed=embed) + @commands.command() async def lwaccess(self, ctx): """You shouldn't be able to see this!"""