Skip to content

Commit

Permalink
Revert "Update ampremover.py"
Browse files Browse the repository at this point in the history
This reverts commit e1538d6.
  • Loading branch information
BenCos17 committed Dec 6, 2024
1 parent e1538d6 commit 99e43e9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ampremover/ampremover.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ async def convert_amp(self, ctx, *, message: str):
await ctx.send("No URLs found in the message.")
return

if ctx.guild and ctx.guild.id not in self.opted_in_servers:
await ctx.send("This server has not opted in to use the AmputatorBot service. Please opt-in to use this feature.")
return

canonical_links = []
for url in urls:
api_url = f"https://www.amputatorbot.com/api/v1/convert?gac=true&md=3&q={url}"
Expand Down

0 comments on commit 99e43e9

Please sign in to comment.