Rune Halvorsen avatar Rune Halvorsen committed cfac9e6

Added more strings and another trigger

Comments (0)

Files changed (1)

 
 def schwubedigen():
     times = [1] * 50 + [2] * 20 + [3] * 15 + [4] * 10 + [5] * 5
-    return "Schwubedi%swubs" % ("wubedi"*choice(times))
+    return "Schwubedi%swups" % ("wubedi"*choice(times))
 
 # sources can be strings or callables.
 # a callable must yield a string
 sources = [
+    "Aiai AI AI AI",
+    "Be careful young man",
+    "Be very very careful",
+    "End and finish",
     "Fucking shit and hell!",
     "Heiland donnerwetter!",
     "I am a little bit skeptic",
     "I would not do it like that",
     "No really. No really.",
     "Schabernack!",
+    "Schops. I go back to work",
     "THACK!"
     "Thack, thack, thack",
     "That is a little bit crazy",
+    "This is just some fucking shit",
     "We should get a big piece of meat",
     "We should have a nice MEATing",
-    "Aiai AI AI AI",
-    "End and finish",
-    "This is just some fucking shit",
+    "you are confused young man",
     schwubedigen, # more likely, so lets repeat it
     schwubedigen,
     schwubedigen,
 class BiBaBot(IRCBot):
     krebs = Krebbie()
     def command_patterns(self):
-        words = [".*krebbie.*", ".*chrisk.*", ".*krebs.*"]
+        words = [".*krebbie.*", ".*chrisk.*", ".*krebs.*", ".*krebby.*"]
         return [(re.compile(e, re.I), self.handle_krebs) for e in words]
 
     def handle_krebs(self, nick, message, channel):
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.