From a669fec7a58ef5c910f551ea916c7eda01bb9ff2 Mon Sep 17 00:00:00 2001 From: acidvegas Date: Tue, 6 Jun 2023 22:32:05 -0400 Subject: [PATCH] Sync database message was only sending to the config channel and not #scroll --- scroll.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scroll.py b/scroll.py index 5b7475d..bb4677f 100644 --- 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: