From 2a22184654340b87b49b9726853b98c75065f33b Mon Sep 17 00:00:00 2001 From: Akamaru Date: Wed, 8 Mar 2017 21:41:22 +0100 Subject: [PATCH] Merge Brawl345/Brawlbot-v2 --- miku/plugins/wikipedia.lua | 3 ++- miku/plugins/youtube.lua | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/miku/plugins/wikipedia.lua b/miku/plugins/wikipedia.lua index 6018f22..a3b22ea 100644 --- a/miku/plugins/wikipedia.lua +++ b/miku/plugins/wikipedia.lua @@ -9,7 +9,8 @@ function wikipedia:init(config) "^/[Ww]iki(%w+) (.+)$", "^/[Ww]iki ?(.*)$", "(%w+).m.wikipedia.org/wiki/(.+)", - "(%w+).wikipedia.org/wiki/(.+)" + "(%w+).wikipedia.org/wiki/(.+)", + "wikiwand.com/(%w+)/(.+)$" } wikipedia.inline_triggers = { "^wiki(%w+) (.+)", diff --git a/miku/plugins/youtube.lua b/miku/plugins/youtube.lua index e7afa46..29e4eb9 100644 --- a/miku/plugins/youtube.lua +++ b/miku/plugins/youtube.lua @@ -141,7 +141,7 @@ function send_youtube_data(data, msg, self, link, sendpic) dislikeCount = '' end if data.statistics.commentCount then - commentCount = ' | 🗣 '..comma_value(data.statistics.commentCount) + commentCount = ' | 💬 '..comma_value(data.statistics.commentCount) else commentCount = '' end