1- import asyncio
21import codecs
32import json
43import os
@@ -52,7 +51,6 @@ def load_attacks(bot):
5251 presents = json .load (f )
5352
5453
55- @asyncio .coroutine
5654@hook .command
5755def lart (text , conn , nick , action , is_nick_valid ):
5856 """<user> - LARTs <user>"""
@@ -71,7 +69,6 @@ def lart(text, conn, nick, action, is_nick_valid):
7169 action (phrase .format (user = target ))
7270
7371
74- @asyncio .coroutine
7572@hook .command ("flirt" , "sexup" , "jackmeoff" )
7673def flirt (text , conn , nick , message , is_nick_valid ):
7774 """<user> - flirts with <user>"""
@@ -87,7 +84,6 @@ def flirt(text, conn, nick, message, is_nick_valid):
8784 message ('{}, {}' .format (target , random .choice (flirts )))
8885
8986
90- @asyncio .coroutine
9187@hook .command ("kill" , "end" )
9288def kill (text , conn , nick , action , is_nick_valid ):
9389 """<user> - kills <user>"""
@@ -106,7 +102,6 @@ def kill(text, conn, nick, action, is_nick_valid):
106102 action (generator .generate_string ())
107103
108104
109- @asyncio .coroutine
110105@hook .command
111106def slap (text , action , nick , conn , is_nick_valid ):
112107 """<user> -- Makes the bot slap <user>."""
@@ -128,7 +123,6 @@ def slap(text, action, nick, conn, is_nick_valid):
128123 action (generator .generate_string ())
129124
130125
131- @asyncio .coroutine
132126@hook .command
133127def compliment (text , nick , conn , is_nick_valid , message ):
134128 """<user> -- Makes the bot compliment <user>."""
@@ -181,7 +175,6 @@ def nk(message):
181175 message (slogan )
182176
183177
184- @asyncio .coroutine
185178@hook .command ()
186179def insult (text , conn , nick , notice , message , is_nick_valid ):
187180 """<user> - insults <user>
@@ -202,7 +195,6 @@ def insult(text, conn, nick, notice, message, is_nick_valid):
202195 message ("{}, {}" .format (target , random .choice (insults )))
203196
204197
205- @asyncio .coroutine
206198@hook .command ("present" , "gift" )
207199def present (text , conn , nick , action , is_nick_valid ):
208200 """<user> - gives gift to <user>"""
0 commit comments