iFunny.js:javascript iFunny库,具有完全异步支持

时间:2024-05-29 11:45:38
【文件属性】:

文件名称:iFunny.js:javascript iFunny库,具有完全异步支持

文件大小:53KB

文件格式:ZIP

更新时间:2024-05-29 11:45:38

library async reverse-engineering ifunny JavaScript

iFunny.js iFunny API的简单包装器 const ifunny = require ( 'iFunny' ) const robot = new ifunny . Client ( { prefix : '-' } ) robot . on ( 'login' , async ( fresh ) => { await robot . socket . start ( ) } ) robot . handler . on ( 'message' async ( ) => { message . reply ( 'Hello, world!' ) } ) robot . command . on ( 'ping' , async ( message , args ) => { message . reply ( 'Pong!' ) } ) robot


【文件预览】:
iFunny.js-master
----.jshintrc(36B)
----.gitignore(129B)
----package.json(1KB)
----package-lock.json(27KB)
----src()
--------ext()
--------objects()
--------index.js(345B)
--------utils()
----CHANGELOG.md(5KB)
----jsdoc.json(984B)
----README.md(624B)
----host-docs.sh(134B)
----.gitattributes(66B)

网友评论