Discord.js_cmds:轻松为Discord机器人创建命令 源码
discord.js_cmds 英语: 该软件包支持javascript。 TS示例: //TypeScript - src/index.ts import { Client } from 'discord.js' ; const client = new Client ( ) ; import { prefix } from './config.json' ; import { ping } from './commands/ping' import { readCommand } from '@flamesx_128/discord.js_cmds' //This package //Register commands const commandList = { "ping" : { //command "checkCommand" : ( prefix :
用户评论