Added (læs mere) to wiki message

This commit is contained in:
NikolajDanger
2020-04-03 16:24:15 +02:00
parent c0795671ce
commit 4129c9b0b4

View File

@ -216,6 +216,7 @@ async def on_message(message):
title, content, thumbnail = funcs.findWikiPage(command)
if title != "":
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)
if thumbnail != "":
embed.set_thumbnail(url=thumbnail)