scroll

- irc bot to play ascii art
git clone git://git.acid.vegas/scroll.git
Log | Files | Refs | Archive | README | LICENSE

commit a669fec7a58ef5c910f551ea916c7eda01bb9ff2
parent 7e492906c2e65ac91038a5d20457cdcc3bae26d9
Author: acidvegas <acid.vegas@acid.vegas>
Date: Tue, 6 Jun 2023 22:32:05 -0400

Sync database message was only sending to the config channel and not #scroll

Diffstat:
Mscroll.py | 2+-

1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scroll.py b/scroll.py
@@ -231,7 +231,7 @@ class Bot():
 									self.loops[chan] = asyncio.create_task(self.play(chan, ascii))
 								elif msg == '.ascii sync':
 									await self.sync()
-									await self.sendmsg(connection.channel, bold + color('database synced', light_green))
+									await self.sendmsg(chan, bold + color('database synced', light_green))
 								elif args[1] == 'random' and len(args) == 3:
 									dir = args[2]
 									if dir in self.db: