Typing while getting wiki

This commit is contained in:
NikolajDanger
2020-04-03 16:25:49 +02:00
parent 4129c9b0b4
commit 919c064d93

View File

@ -215,6 +215,7 @@ async def on_message(message):
command = string.capwords(message.content.lower().replace("!wiki ",""))
title, content, thumbnail = funcs.findWikiPage(command)
if title != "":
async with message.channel.typing():
funcs.logThis("Sending the embedded message")
content += "\n[Læs mere](https://senkulpa.fandom.com/da/wiki/"+title.replace(" ","_")+")"
embed = discord.Embed(title = title, description = content, colour=0xDEADBF)