瀏覽代碼

change output format of !hamburg

Helge Jung 9 年之前
父節點
當前提交
b617ed51b6
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      modules/ffpb_hamburg.py

+ 2 - 1
modules/ffpb_hamburg.py

@@ -35,4 +35,5 @@ def ffpb_hamburg(bot, trigger):
 	diff_nodes = hamburg_data['nodes_active'] - stats['nodes_active']
 	diff_clients = hamburg_data['clients'] - stats['clients']
 
-	bot.say('Hamburg: {0}{1:+g} Knoten, {2}{3:+g} Clients (Status von {4})'.format(stats['nodes_active'], diff_nodes, stats['clients'], diff_clients, pretty_date(hamburg_data['fetchtime'])))
+	bot.say('Hamburg: {0} Knoten (= PB{1:+g}), {2} Clients (= PB{3:+g})'.format(hamburg_data['nodes_active'], diff_nodes, hamburg_data['clients'], diff_clients))
+