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 7da51b1 commit 6d09df7
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 is not None and ctx.guild.id not in self.opted_in_servers:
# If the server hasn't opted in, do not respond
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 6d09df7

Please sign in to comment.