- Join/leave messages.
- Moderation commands (ban, kick, purge).
- Color roles.
- Simple music playback in a voice channel.
- Make a new discord application with a bot user account.
- In Privileged Gateway Intents turn on:
- Message Content Intent
- Server Members Intent
- Go to OAuth2, make an URL invite for scope bot. The permissions should be: &permissions=46486663507
- Clone and navigate into the repository.
- Make a new file named
.env
with contents:TOKEN=<your discord token> DEFAULT_CHANNEL=<channel id to output welcome messages> SPAM_CHANNEL=<channel id for fun commands> VOICE_CHANNEL=<voice channel id for music commands>
- Install:
- Using docker:
docker build -t navi .
docker run -d --name=navi navi
- Locally (needs dependacies):
mvn -f pom.xml clean compile assembly:single
java -jar navi-1.0-jar-with-dependencies.jar
- Using docker:
Make a new role named +muted with disabled permissions to send messages.
Make new roles with the name scheme -color
for example -green
with a green color.
NAVI will autoindex those roles and automatically list them when issuing the help command.