From 4129c9b0b43227b759b5035aac647a894458e141 Mon Sep 17 00:00:00 2001 From: NikolajDanger Date: Fri, 3 Apr 2020 16:24:15 +0200 Subject: [PATCH] =?UTF-8?q?Added=20(l=C3=A6s=20mere)=20to=20wiki=20message?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gwendolyn.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Gwendolyn.py b/Gwendolyn.py index f9679d7..1b880de 100644 --- a/Gwendolyn.py +++ b/Gwendolyn.py @@ -216,10 +216,11 @@ 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) - + await message.channel.send(embed = embed) else: await message.channel.send(content)