mirror of
git://git.acid.vegas/IRCP.git
synced 2024-11-26 01:46:39 +00:00
Added support for logging +b +e * +I modes
This commit is contained in:
parent
b717d77113
commit
9a62ad2cbd
7
ircp.py
7
ircp.py
@ -362,6 +362,13 @@ class probe:
|
|||||||
debug('{0}\033[32mJOIN\033[0m {1} \033[30m(found \033[93m{2}\033[0m users)\033[0m'.format(self.display, chan, self.channels['users'][chan]))
|
debug('{0}\033[32mJOIN\033[0m {1} \033[30m(found \033[93m{2}\033[0m users)\033[0m'.format(self.display, chan, self.channels['users'][chan]))
|
||||||
del self.channels['users'][chan]
|
del self.channels['users'][chan]
|
||||||
await self.raw('WHO ' + chan)
|
await self.raw('WHO ' + chan)
|
||||||
|
await self.raw(f'MODE {chan} +b')
|
||||||
|
await asyncio.sleep(1)
|
||||||
|
await self.raw(f'MODE {chan} +e')
|
||||||
|
await asyncio.sleep(1)
|
||||||
|
await self.raw(f'MODE {chan} +I')
|
||||||
|
await asyncio.sleep(1)
|
||||||
|
await self.raw('WHO ' + chan)
|
||||||
await asyncio.sleep(throttle.part)
|
await asyncio.sleep(throttle.part)
|
||||||
await self.raw('PART ' + chan)
|
await self.raw('PART ' + chan)
|
||||||
self.channels['current'].remove(chan)
|
self.channels['current'].remove(chan)
|
||||||
|
Loading…
Reference in New Issue
Block a user