将RxPy与不和.py.
discord-ext-rx的Python项目详细描述
不和谐外部接收
Work In Progress!
将RxPy与{a2}合并。在
示例
fromdiscord.ext.rximportRxBot,_fromrximportoperatorsasopsbot=RxBot()bot.messages.pipe(ops.filter(lambdam:m.author.id==121678432504512512),ops.filter(lambdam:m.content=='418'),ops.map(lambdam:m.channel)).subscribe(_(lambdac:c.send("I'm a teapot!")))bot.run('token')
- 项目
标签: