[rssnotify] Update a feed URL

master
sfan5 2021-01-24 12:24:52 +01:00
parent 0334f86ca4
commit 5fd4be8693
2 changed files with 4 additions and 4 deletions

View File

@ -94,8 +94,8 @@ class RssNotify():
return "https://git.io/" + l
def _format_msg(self, feed_entry, log_format=False):
if log_format:
f_cshort = "[color=#cc0000]%s[/color]"
f_clong = "[color=#cc0000]%s[/color] ([color=#cc0000]%s[/color])"
f_cshort = "[color=#c00]%s[/color]"
f_clong = "[color=#c00]%s[/color] ([color=#c00]%s[/color])"
f_all = "[color=#3465a4][git][/color] %s -> [color=#73d216]%s[/color]: [b]%s[/b] [color=#a04265]%s[/color] %s ([color=#888a85]%s[/color])"
else:
f_cshort = "\x0304%s\x0f"
@ -144,7 +144,7 @@ rssn = RssNotify({
('https://github.com/minetest/minetest/commits/master.atom', c),
('https://github.com/minetest/minetest_game/commits/master.atom', c),
('https://github.com/minetest/minetestmapper/commits/master.atom', c),
('https://github.com/minetest/master-server/commits/master.atom', c),
('https://github.com/minetest/serverlist/commits/master.atom', c),
('https://github.com/sfan5/phenny/commits/master.atom', ['##minetestbot']),
('https://github.com/sfan5/minetestbot-modules/commits/master.atom', ['##minetestbot']),
],

View File

@ -38,7 +38,7 @@ def check(host, port):
sock.close()
def serverup(phenny, input):
arg = input.group(2)
arg = input.group(2).strip()
if not arg:
return phenny.reply("give me an address and (optionally) a port")