Skip to content

Commit

Permalink
Update ampremover.py
Browse files Browse the repository at this point in the history
  • Loading branch information
BenCos17 committed Dec 6, 2024
1 parent 1a2768c commit b9b1442
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ampremover/ampremover.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
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

0 comments on commit b9b1442

Please sign in to comment.