Discord Bot built with discord.js for play music and misc command.
Music playback function referenced by evobot.
Reaction emoij referenced KP Arts Flat Gradient.
Sleep command referenced by J2Team bot.
- Discord Bot Token Guide
1.1. Enable 'Message Content Intent' in Discord Developer Portal - Node.js 16.11.0 or newer
git clone https://github.com/tnkbang/tinhlinhdao.git
cd tinhlinhdao
npm install
After installation finishes follow configuration instructions then run npm run start
to start the bot.
Copy or Rename config.json.txt
to config.json
and fill out the values:
Change your TOKEN
, owner id for OWNER
and other values....
{
"TOKEN": "",
"MAX_PLAYLIST_SIZE": 10,
"OWNER": "",
"PREFIX": "::",
"PRUNING": false,
"LOCALE": "vi",
"UTC": 7,
"STAY_TIME": 30,
"DEFAULT_VOLUME": 100
}
After the bot working, using /help
or ::help
to view all command of bot.
- Music playing: play, search, favorite, queue, nowplaying, skip, stop,...
- When playing music, you can use the
favorite
feature to save a playlist of your favorite songs for quick playback. - Using
sleep
to calculate sleep time. - And waiting for development :>>