Merge Brawl345/Brawlbot-v2

This commit is contained in:
Akamaru 2017-03-08 21:41:22 +01:00
parent ef96dd1969
commit 2a22184654
2 changed files with 3 additions and 2 deletions

View File

@ -9,7 +9,8 @@ function wikipedia:init(config)
"^/[Ww]iki(%w+) (.+)$", "^/[Ww]iki(%w+) (.+)$",
"^/[Ww]iki ?(.*)$", "^/[Ww]iki ?(.*)$",
"(%w+).m.wikipedia.org/wiki/(.+)", "(%w+).m.wikipedia.org/wiki/(.+)",
"(%w+).wikipedia.org/wiki/(.+)" "(%w+).wikipedia.org/wiki/(.+)",
"wikiwand.com/(%w+)/(.+)$"
} }
wikipedia.inline_triggers = { wikipedia.inline_triggers = {
"^wiki(%w+) (.+)", "^wiki(%w+) (.+)",

View File

@ -141,7 +141,7 @@ function send_youtube_data(data, msg, self, link, sendpic)
dislikeCount = '' dislikeCount = ''
end end
if data.statistics.commentCount then if data.statistics.commentCount then
commentCount = ' | 🗣 '..comma_value(data.statistics.commentCount) commentCount = ' | 💬 '..comma_value(data.statistics.commentCount)
else else
commentCount = '' commentCount = ''
end end