Browse Source

ffpb_fun: show SSH key if it is requested

Helge Jung 9 years ago
parent
commit
dcab231e47
1 changed files with 8 additions and 0 deletions
  1. 8 0
      modules/ffpb_fun.py

+ 8 - 0
modules/ffpb_fun.py

@@ -32,6 +32,10 @@ def ffpb_nofake(bot, trigger):
 	))
 	bot.action(msg.format(trigger.nick))
 
+@willie.module.commands('fake')
+def ffpb_fakecmd(bot, trigger):
+	bot.say('Public Service Announcement: {0} ist ein Fake.'.format(trigger.nick))
+
 @willie.module.rule(r'(?i)!(sudo )?rm -rf (--no-preserve-root )?/')
 def ffpb_rmrf(bot, trigger):
 	bot.action("liest dann mal sehr schnell " + trigger.nick + "s Mails o.O")
@@ -56,3 +60,7 @@ def ffpb_grammarnazi_wie(bot, trigger):
 def ffpb_grammarnazi_alswie(bot, trigger):
 	bot.action("denkt spontan an seine Deutschlehrerin")
 
+@willie.module.rule(r'(?i)gi(ve |m)me the key to your heart')
+def ffpb_botkey(bot, trigger):
+	bot.reply('ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDJfsG/myO4y9WzJSP+ixluHFmkIMJJRsvRT8t5h4y/5A7QzovOw1GpCmWJWnZ6GKXilTxb8ycqVfDcFPB2NRkdJUjYL+v4IMriPeBigAjc6FoUZXOS3TOZVhaTlNT4XxXKOYF/Rpgscv5f0iu1SG0Tp4mb2TX04pZjbnLNBABbjn592abEuMG5bH/g9odi50S0MoU/qCH9AZvkoc8vGu+flOBrKfFi+7g2GxF/w66mMvCJfK27QFSPOiFV3CT6ZfSZM138OCdC1SOi89X9+oCEQ3LB9A+bJgyYnxqp8eVpRPui6K9sPkax71tMimRJA5Xgdvqt9HpcgtNYxKJ4gYMR ffpb-statusbot')
+