mirror of https://xfnw.ttm.sh/git/oirc.git
aaaaaaaaaaa
This commit is contained in:
parent
bf0c8e8481
commit
f247327678
4
bot.py
4
bot.py
|
@ -38,6 +38,10 @@ async def message(self,modname,channel,msg):
|
|||
await self.send(build("PRIVMSG",[channel,f'[\x036{modname}\x0f] {msg}']))
|
||||
|
||||
|
||||
@command('anothertest')
|
||||
async def anothertest(self,c,n,m):
|
||||
await message(self,'self',c,'hello')
|
||||
|
||||
|
||||
class Server(BaseServer):
|
||||
async def line_read(self, line: Line):
|
||||
|
|
Loading…
Reference in New Issue