commit ad8652fdf34635a6a62388cb48cf5b1e4947206d
parent 0586c4c5afdd36bb1844b56f8175f731262520c7
Author: xfnw <xfnw@ttm.sh>
Date: Mon, 5 Oct 2020 19:44:02 -0400
dont await the messages
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bot.py b/bot.py
@@ -27,7 +27,7 @@ class Server(BaseServer):
if nick == self.nickname or line.tags and "batch" in line.tags:
return
for i in self.bot.servers:
- await self.bot.servers[i].bc(self.name,nick,text)
+ asyncio.create_task(self.bot.servers[i].bc(self.name,nick,text))
#await self.send(build("PRIVMSG ##xfnw :ine and boat ",[text]))
if line.command == "INVITE":
await self.send(build("JOIN",[line.params[1]]))