Browse Source

Remove link from header in bot

pull/1/head
elliot 3 years ago
parent
commit
62ee631063
  1. 2
      cogs/timings.py

2
cogs/timings.py

@ -33,13 +33,11 @@ class Timings(commands.Cog):
word.replace("/d=", "/?id=") # this seems to be a common issue when people post their links
if word.startswith("https://timin") and "/?id=" in word:
timings_url = word
embed_var.url = timings_url
break
if word.startswith("https://www.spigotmc.org/go/timings?url=") or word.startswith(
"https://timings.spigotmc.org/?url="):
embed_var.add_field(name="❌ Spigot",
value="Spigot timings have limited information. Switch to [Purpur](https://purpur.pl3x.net/downloads) for better timings analysis. All your plugins will be compatible, and if you don't like it, you can easily switch back.")
embed_var.url = word
await message.reply(embed=embed_var)
return

Loading…
Cancel
Save