diff --git a/tux/cogs/admin/git.py b/tux/cogs/admin/git.py index 9ce8ede97..1444a8a63 100644 --- a/tux/cogs/admin/git.py +++ b/tux/cogs/admin/git.py @@ -483,7 +483,8 @@ async def create_issue(self, ctx: commands.Context[Tux], title: str, body: str) """ try: - created_issue = await self.github.create_issue(title, body) + issue_body = body + "\n\nAuthor: " + str(ctx.author) + created_issue = await self.github.create_issue(title, issue_body) embed = EmbedCreator.create_success_embed( title="Issue Created", @@ -492,7 +493,7 @@ async def create_issue(self, ctx: commands.Context[Tux], title: str, body: str) ) embed.add_field(name="Issue Number", value=created_issue.number, inline=False) embed.add_field(name="Title", value=title, inline=False) - embed.add_field(name="Body", value=body, inline=False) + embed.add_field(name="Body", value=issue_body, inline=False) except Exception as e: await ctx.send(f"Error creating issue: {e}", delete_after=30, ephemeral=True)