mirror of
git://git.acid.vegas/scroll.git
synced 2024-11-22 16:16:40 +00:00
ascii stopper improved
This commit is contained in:
parent
4048e3aa08
commit
f5e769ece1
@ -199,9 +199,10 @@ class Bot():
|
|||||||
if msg == '@scroll':
|
if msg == '@scroll':
|
||||||
await self.sendmsg(chan, bold + 'Scroll IRC Art Bot - Developed by acidvegas in Python - https://git.acid.vegas/scroll')
|
await self.sendmsg(chan, bold + 'Scroll IRC Art Bot - Developed by acidvegas in Python - https://git.acid.vegas/scroll')
|
||||||
elif args[0] == '.ascii':
|
elif args[0] == '.ascii':
|
||||||
if msg == '.ascii stop' and self.playing:
|
if msg == '.ascii stop':
|
||||||
if chan in self.loops:
|
if self.playing:
|
||||||
self.loops[chan].cancel()
|
if chan in self.loops:
|
||||||
|
self.loops[chan].cancel()
|
||||||
elif time.time() - self.last < throttle.flood:
|
elif time.time() - self.last < throttle.flood:
|
||||||
if not self.slow:
|
if not self.slow:
|
||||||
if not self.playing:
|
if not self.playing:
|
||||||
|
Loading…
Reference in New Issue
Block a user