钓鱼宝
一个cr脚的不和谐机器人
要自己运行bot,您需要在项目的根目录中有一个.env文件,其中包含:
TOKEN=your discord bot client token
DBPATH=the path to a mongodb database
要使用所有功能,还添加以下内容:
prefix=
HYPIXELTOKEN=
IGNITEAPI=
一个基本的命令示例:
// The actual code that returns the response
let command = async ( client , args ) => {
return `pong = \` ${ client . ws . ping } ms\`` ;
}
// The message command code
exports . run = ( client , message , arg