Skip to content

Commit

Permalink
Disable link-shortening advertizing in lyli
Browse files Browse the repository at this point in the history
It was deemed too annoying (even though it only showed up once per chat, every time I restarted the bot, it would adv again).
  • Loading branch information
Roope Salmi committed May 29, 2015
1 parent 429d776 commit dd3a3fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/lyli.lua
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function catch_url(msg, matches)
--Advertize the quick-shortening functionality only on the first time
--we catch a URL.
if captured_URL_table[tostring(to_id)] == nil then
toreturn = "Use !lyli (or !lylic [name] for a custom name) to shorten that link!"
--toreturn = "Use !lyli (or !lylic [name] for a custom name) to shorten that link!"
end

captured_URL_table[tostring(to_id)] = matches[1]
Expand Down

0 comments on commit dd3a3fc

Please sign in to comment.