forked from hackyourlife/orakel
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfatfox.py
More file actions
19 lines (17 loc) · 660 Bytes
/
fatfox.py
File metadata and controls
19 lines (17 loc) · 660 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# -*- coding: utf-8 -*-
# vim:set ts=8 sts=8 sw=8 tw=80 noet cc=80:
class FatFox(object):
def __call__(self, msg, nick, send_message):
result = self.handle(msg.lower(),nick)
if result:
send_message(result)
return True
return False
def handle(self, msg, nick):
if nick == 'fatfox':
if msg == 'ich bin nicht dick':
return 'its fluff (http://skia.deviantart.com/art/It-s-Fluff-177820732)'
if msg == 'was sagt man dazu':
return 'HAHA! (http://skia.deviantart.com/art/Haha-166700813)'
if msg == 'zeit zum basteln...':
return 'Caution! Fox with tools! (http://culpeo-fox.deviantart.com/art/Commission-Mad-Scientist-175079567)'