simple-discord-music-bot

所属分类:聊天室
开发工具:JavaScript
文件大小:0KB
下载次数:0
上传日期:2024-01-07 06:27:30
上 传 者sh-1993
说明:  在NodeJS中编程的Discord Bot,利用Discord.js和play yt。它可以在Discord语音频道中搜索和播放YouTube中的任何视频。
(A Discord Bot programmed in NodeJS making use of discord.js and play-yt. It can search and play any video from YouTube inside a Discord voice channel.)

文件列表:
.vscode/
commands/
functions/
tools/
.eslintrc.json
config.json.example
index.js
package-lock.json
package.json

# Simple Discord Music Bot ### Why? I wanted to experiment with [discord.js](https://discord.js.org/). ### Will you add \? Nah, this is just a proof of concept. ### Can I add this bot to my server? Sure, go ahead and host it yourself. ## Instructions First, install dependencies: ``` npm i ``` While that happens, create your own application in the [Discord Developer Portal](https://discord.com/developers/applications). In the "Bot" tab, click on "Add Bot", then generate a new token. Now you can copy `config.example.json` into `config.json` and fill it with your Application ID and Discord Bot Token. Build the project: ``` npm run build ``` Then, deploy your commands: ``` npm run deploy-commands ``` This will also give you a link to invite the bot to any server. Finally, type this to start the bot: ``` npm start ``` Enjoy! ## OAuth2 permissions If for some reason you want to change the bot permissions, you can visit [this page](https://discordapi.com/permissions.html#17825792) and generate a custom link.

近期下载者

相关文件


收藏者