From b9b1442894575cb4e35ddb7d1c2914ab579de9b1 Mon Sep 17 00:00:00 2001 From: Ben Cos <52817096+BenCos17@users.noreply.github.com> Date: Fri, 6 Dec 2024 17:34:31 +0000 Subject: [PATCH] Update ampremover.py --- ampremover/ampremover.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ampremover/ampremover.py b/ampremover/ampremover.py index 72f7420..a907d1f 100644 --- a/ampremover/ampremover.py +++ b/ampremover/ampremover.py @@ -89,6 +89,8 @@ async def on_message(self, message): async def show_settings(self, ctx): """Displays the current configuration settings for the AmputatorBot.""" opted_in = await self.config.guild(ctx.guild).opted_in() # Get opted-in status - settings_message = f"Current settings for {ctx.guild.name}:\n" - settings_message += f"Opted In: {'Yes' if opted_in else 'No'}" - await ctx.send(settings_message) \ No newline at end of file + embed = ctx.embed() # Create an embed object + embed.title = f"Settings for {ctx.guild.name}" + embed.add_field(name="Opted In", value="Yes" if opted_in else "No", inline=False) + + await ctx.send(embed=embed) # Send the embed message \ No newline at end of file