Jabber/XMPP conference bot & framework
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
brathuhn/kraken.py

21 lines
692 B

import brathuhn
kraken_img = """
_,.---. ,''-._
Release the kraken! ;- X ,/-- \\
/ \\ ' `. :
| \\ / | | )
,''-..--'\\ \\....-'__ '
/ .-...--'': ,. , _.-'O,'
.'/ _O_ O / /O)\\ \\''-O,-'
[\\_ .' /,' ,+-'._/O/ / /_
\\/'-' :/ ' '`'''''`+
_;._.:..."""
def kraken(mfrom,msg):
if "kraken" in msg.lower() and not brathuhn.room_nick in mfrom:
for line in kraken_img.split('\n'):
brathuhn.sendMonoMsg(brathuhn.ROOM,line,'groupchat')
brathuhn.addGroupListener(kraken)