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
1 changed files with 1 additions and 1 deletions

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: