1
0
mirror of https://xfnw.ttm.sh/git/oirc.git synced 2024-06-18 14:47:07 +00:00
oirc/old_modules/channels.py
2020-11-21 14:42:21 -05:00

17 lines
302 B
Python

async def action(self,c,n,m):
await self.message(c,'\x01ACTION {}\x01'.format(m[:400]))
async def echo(self,c,n,m):
await self.message(c,'[\x036channels\x0f] {}'.format(m[:400]))
async def init(self):
self.chansjoin = ['#bots']
self.cmd['echo']=echo
self.cmd['action']=action