1
mirror of git://git.acid.vegas/scroll.git synced 2024-11-07 08:46:45 +00:00

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

This commit is contained in:
Dionysus 2023-06-06 22:32:05 -04:00
parent 7e492906c2
commit a669fec7a5
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE

View File

@ -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: