mirror of
git://git.acid.vegas/scroll.git
synced 2024-11-22 08:06:39 +00:00
Sync database message was only sending to the config channel and not #scroll
This commit is contained in:
parent
7e492906c2
commit
a669fec7a5
@ -231,7 +231,7 @@ class Bot():
|
|||||||
self.loops[chan] = asyncio.create_task(self.play(chan, ascii))
|
self.loops[chan] = asyncio.create_task(self.play(chan, ascii))
|
||||||
elif msg == '.ascii sync':
|
elif msg == '.ascii sync':
|
||||||
await self.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:
|
elif args[1] == 'random' and len(args) == 3:
|
||||||
dir = args[2]
|
dir = args[2]
|
||||||
if dir in self.db:
|
if dir in self.db:
|
||||||
|
Loading…
Reference in New Issue
Block a user