|
|
|
@ -14,7 +14,7 @@ def cowsay(msg,args): |
|
|
|
return |
|
|
|
return |
|
|
|
|
|
|
|
|
|
|
|
try: |
|
|
|
try: |
|
|
|
txt=subprocess.check_output(["cowsay","-f",cowfile,text]) |
|
|
|
txt=subprocess.check_call(["cowsay","-f",cowfile,text]) |
|
|
|
for line in txt.split('\n'): |
|
|
|
for line in txt.split('\n'): |
|
|
|
#brathuhn.sendStyledMsg(brathuhn.ROOM,line,'groupchat',) |
|
|
|
#brathuhn.sendStyledMsg(brathuhn.ROOM,line,'groupchat',) |
|
|
|
brathuhn.sendMonoMsg(brathuhn.ROOM,line,'groupchat') |
|
|
|
brathuhn.sendMonoMsg(brathuhn.ROOM,line,'groupchat') |
|
|
|
|