Good Night, the discord bot for saying good night to your friends in voice chat. Just set the time and minutes, the bot will enter the call, say good night and disconnect everyone.
To add the bot in your server use the invite link
Once the bot is imported, it will only respond to commands invoked by the server admin. To get other users to interact, assign the bot the role of the group you want it to interact with.
Set the time when a Voice Channel should go to bed:
!night hour minutes isTomorrow
Test command to see if the server is on. Returns the ping:
!ping
List all of my commands:
!help
Info about a specific command:
!help [command]
Playing YouTube music in a Voice Channel:
!music youtubelink
Stopping music in the Voice Channel:
!stopmusic
- Problem with the usage of node-ytdl-core
- When using youtube, if the $music command is launched during the $night execution, it skips
- 1.1.0: Partial resolution (static song loading) of $night and its override
- 1.1.1: $version command
The package manager is npm. To install the dependencies, run:
npm install
Important: setup the environment variables in the .env file.
DISCORD_BOT_TOKEN=<token generate with discord development portal>
To run the bot, launch the command:
npm start