Browse Source

add # between username and discriminator in timings footer

master
Purpur 4 years ago
committed by GitHub
parent
commit
18e3463c55
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      cogs/timings_public.py

2
cogs/timings_public.py

@ -26,7 +26,7 @@ class Timings(commands.Cog):
words = message.content.replace("\n", " ").split(" ") words = message.content.replace("\n", " ").split(" ")
timings_url = "" timings_url = ""
embed_var = discord.Embed(title=self.TIMINGS_TITLE) embed_var = discord.Embed(title=self.TIMINGS_TITLE)
embed_var.set_footer(text="Requested by " + message.author.name + message.author.discriminator, icon_url=message.author.avatar_url)
embed_var.set_footer(text="Requested by " + message.author.name + "#" + message.author.discriminator, icon_url=message.author.avatar_url)
for word in words: for word in words:
if word.startswith("https://timings.") and "/d=" in word: if word.startswith("https://timings.") and "/d=" in word:

Loading…
Cancel
Save