diff --git a/modules/active/get_quote.py b/modules/active/get_quote.py index 2c9877f..ecdedf1 100644 --- a/modules/active/get_quote.py +++ b/modules/active/get_quote.py @@ -78,7 +78,7 @@ def quote(msg,args): brathuhn.sendMsg(brathuhn.ROOM,"Usage: "+args[0]+" language (two letter code) topic",'groupchat') else: try: - brathuhn.sendMsg(brathuhn.ROOM,'searching for "'+ args[2] +'"...') + brathuhn.sendMsg(brathuhn.ROOM,'searching for "'+ args[2] +'"...','groupchat') search_results = search_wiki(args[1],args[2]) if len( search_results )==0: brathuhn.sendMsg(brathuhn.ROOM,"No quotes found",'groupchat') @@ -96,7 +96,7 @@ def quote(msg,args): # print "-- ",i if len(wqp.quotes)>=1: - brathuhn.sendMsg(brathuhn.ROOM,'Quoting "'+ search_results[0] +'"') + brathuhn.sendMsg(brathuhn.ROOM,'Quoting "'+ search_results[0] +'"','groupchat') brathuhn.sendMsg(brathuhn.ROOM,wqp.quotes[randint(0,len(wqp.quotes)-1)],'groupchat') else: brathuhn.sendMsg(brathuhn.ROOM,'Could not crawl quotes from > '+url+' <','groupchat')