A first learning write simple javascript bot for Discord
Bot_mhee is bot who auto run voice file from random data in env file that get source from voice folder
We used it to call " Mhee!! "
Bot will active when any one join voice channel (not switch between channel) bot will join and auto run voice data.
- Craete bot and invite them to you channel => Creating a Bot Account
- Create .env file from demo.env and replace your bot token , voice files and volume :
BOT_TOKEN ="YOU TOKEN"
LIST_VOICE =[{ "path":"YOU PATH" ,"volume": 0.8 }]
- Install node package:
$ npm install
- Run bot client:
$ node index.js