min/modules/channels.py

17 lines
302 B
Python
Raw Normal View History

2020-04-05 19:59:15 -04:00
2020-10-04 12:26:20 -04:00
async def action(self,c,n,m):
await self.message(c,'\x01ACTION {}\x01'.format(m[:400]))
2020-04-05 19:59:15 -04:00
2020-04-05 20:21:10 -04:00
2020-10-04 12:26:20 -04:00
async def echo(self,c,n,m):
await self.message(c,'[\x036channels\x0f] {}'.format(m[:400]))
2020-04-05 20:21:10 -04:00
2020-04-05 19:59:15 -04:00
async def init(self):
self.chansjoin = ['#bots']
2020-10-04 12:26:20 -04:00
self.cmd['echo']=echo
self.cmd['action']=action
2020-04-05 20:21:10 -04:00
2020-04-05 19:59:15 -04:00