|
@@ -23,7 +23,7 @@ def shutdown(bot):
|
|
|
pass
|
|
|
|
|
|
|
|
|
-@willie.module.rule(r'(?i)(hi|hallo|moin|morgen|guten morgen|re)[ \t]*$')
|
|
|
+@willie.module.rule(r'(?i)(hi|hallo|moin|morgen|guten morgen|tag|re)[ \t]*$')
|
|
|
def ffpb_greeting(bot, trigger):
|
|
|
stats = bot.memory['ffpb_stats'] if 'ffpb_stats' in bot.memory else None
|
|
|
|
|
@@ -34,6 +34,9 @@ def ffpb_greeting(bot, trigger):
|
|
|
greeting = random.choice((
|
|
|
'Hi {0}, bist du einer der {2} Clients an unseren {1} Knoten?',
|
|
|
'Hey {0}, schön dich zu sehen. Gerade sind übrigens {1} Knoten mit {2} Clients online.',
|
|
|
+ 'Tach {0}, wenn du gerade im Freifunk bist, sind noch {2} andere Clients an {1} Knoten online',
|
|
|
+ 'Na {0}, du hier? Neben dir sind noch {1} Knoten mit {2} Clients da.',
|
|
|
+ 'Hey {0}, schön dich zu sehen. Gerade sind übrigens {1} Knoten mit {2} Clients online.',
|
|
|
'{1} Knoten online, {2} Clients im Netz und {0} gibt uns die Ehre - Herzlich Willkommen :)'))
|
|
|
bot.say(greeting.format(trigger.nick, stats["nodes_active"], stats["clients_unique"]))
|
|
|
|
|
@@ -59,6 +62,7 @@ def ffpb_nofake(bot, trigger):
|
|
|
msg = random.choice((
|
|
|
u'zweifelt {0}s Glaubwürdigkeit an.',
|
|
|
'glaubt nicht, dass {0} echt ist.',
|
|
|
+ 'fakes ... fakes everywhere, nicht wahr {0}',
|
|
|
))
|
|
|
bot.action(msg.format(trigger.nick))
|
|
|
|
|
@@ -98,6 +102,11 @@ def ffpb_grammarnazi_alswie(bot, trigger):
|
|
|
bot.action("denkt spontan an seine Deutschlehrerin")
|
|
|
|
|
|
|
|
|
+@willie.module.rule(r'(?i).*(digga|boom|digga boom)')
|
|
|
+def ffpb_digga_boom(bot, trigger):
|
|
|
+ bot.action("feiert nun ganz hart ab auf: https://www.youtube.com/watch?v=3JpNGq8r42Q")
|
|
|
+
|
|
|
+
|
|
|
@willie.module.rule(r'(?i)gi(ve |m)me the key to your heart')
|
|
|
@willie.module.rule(r'(?i)(.+\s)?(ssh[- ]?)?(pub(lic)?[- ]?)?key (vom|des) (status[- ]?)?bots?(\s|\.|\?|$)')
|
|
|
def ffpb_botkey(bot, trigger):
|