【文件属性】:
文件名称:Discord-music-bot:为Discord创建音乐机器人
文件大小:32KB
文件格式:ZIP
更新时间:2021-05-23 16:50:12
JavaScript
不和谐音乐机器人
创建了音乐bot,可以在与朋友通话或玩游戏时播放一些音乐。
node.js中的Discord音乐机器人-正在进行中
要求
首先,您需要在计算机上安装一些工具: , 。 您还需要一个良好的代码编辑器,例如和上的开发人员帐户。
:game_die: 第一步
转到,创建一个机器人并生成他的令牌。
# Clone this repository
$ git clone < https>
# Copy the .env.example file and rename to .env
# Set your enviroment variables in .env
# Open file in terminal/cmd
$ cd Discord-music-bot
# Install depen
【文件预览】:
Discord-music-bot-master
----.gitignore(20B)
----.env.example(32B)
----package.json(859B)
----package-lock.json(66KB)
----LICENCE(1KB)
----README.md(2KB)
----music_bot.js(2KB)
----.gitattributes(66B)
----struct()
--------client.js(309B)
--------commands()
--------player.js(1KB)