Remove reel from instagram domain fix
All checks were successful
Build and push / changes (push) Successful in 3s
Build and push / Lint-Python (push) Successful in 2s
Build and push / Build-and-Push-Docker (push) Successful in 1m31s
Build and push / sync-argocd-app (push) Successful in 3s
Build and push / post-status-to-discord (push) Successful in 3s
All checks were successful
Build and push / changes (push) Successful in 3s
Build and push / Lint-Python (push) Successful in 2s
Build and push / Build-and-Push-Docker (push) Successful in 1m31s
Build and push / sync-argocd-app (push) Successful in 3s
Build and push / post-status-to-discord (push) Successful in 3s
This commit is contained in:
parent
a55aefd94e
commit
cd324a4be7
@ -101,9 +101,6 @@ async def fix_social_media_links(ctx):
|
||||
if ctx.author.id == bot.user.id:
|
||||
return
|
||||
|
||||
if "instagram.com" in ctx.content and "reel" not in ctx.content:
|
||||
return
|
||||
|
||||
for k in correct_domains.keys():
|
||||
if ctx.content.startswith(k) or ctx.content.startswith("www.{k}.com"):
|
||||
await ctx.channel.send(
|
||||
|
Loading…
x
Reference in New Issue
Block a user