This bot was created specifically for the Discord server of the german YouTuber and Twitch Streamer NPLAY. The core feature of this bot is a leveling system, similar to Mee6, but with a high level of customization. In addition, there are various temporary events, a karma system, rewards, permissions and many other useful features.
The bot is in constant development. Join the test server to receive regular updates, make suggestions and test preview versions. This is also the place to get support if you want to host the bot by yourself.
Due to the high level of customization, I do not provide a public instance that anyone can invite. However, you can still host your own version of the bot. Therefore, you should have a basic understanding of Docker, PostgresSQL and of course Discord bots in general.
Important
The bot is designed to only run on a single guild. Multiple guilds are not supported.
git clone https://github.com/Kaktushose/NPLAY-Bot.git
Rename the .env.example
file to .env
and provide the given values.
POSTGRES_DB=database
POSTGRES_USER=user
POSTGRES_PASSWORD=password
POSTGRES_URL=jdbc:postgresql://postgres:5432/database
GF_SECURITY_ADMIN_PASSWORD=password
BOT_GUILD=0123456789
BOT_TOKEN=bot_token
Start the bot by running:
docker compose up
Note
The default docker-compose.yml
will also start up Grafana and Watchtower. These services aren't necessary to run the Bot, so feel free to remove them.
To make the bot work properly, you now have to populate the Database correctly.
- Update the role ids inside the
item_types
andranks
table - Update the channel ids inside the
bot_settings
table - Add your karma vote emojis (e.g. 👍) inside the
karma_settings
table - Use the
/rank-config valid-channels add
command to whitelist channels for the xp system - Manage the permissions with the
/permissions role edit
and/permissions user edit
commands
That's it. The bot is now fully functional.
I want to thank the following people in now particular order:
- SimuPlays for creating the concept
- Combauer for his support with the concept and the logo creation
- 1Flo3 for testing
- MeerBiene for his support and general ideas and for keeping me sane
- And of course the rest of the NPLAY Discord Team