Bot-Client.js:JavaScript客户端,用于通过WebSockets命令和监视Bot-Controller

时间:2024-06-03 00:02:53
【文件属性】:

文件名称:Bot-Client.js:JavaScript客户端,用于通过WebSockets命令和监视Bot-Controller

文件大小:10KB

文件格式:ZIP

更新时间:2024-06-03 00:02:53

JavaScript

Bot-Client.js JavaScript客户端,用于通过WebSockets命令和监视Bot-Controller。 安装 npm install TucoFlyer/Bot-Client.js 用法 var BotClient = require ( 'Bot-Client.js' ) ; var client = new BotClient ( "./connection.txt" ) ; // Create a BotClient instance with the path of connection.txt. // Add an event listener for authentication ready client . events . addListener ( "auth" , function ( ) { client . send ( { Comm


【文件预览】:
Bot-Client.js-master
----LICENSE(1KB)
----README.md(3KB)
----.gitignore(890B)
----index.js(9KB)
----package-lock.json(13KB)
----package.json(731B)

网友评论