This dicsord bot gives new users autoaticly a guest/temp role.
All users with this role will be kicked after a defined amount of time.
- Create a disord application
- edit the .env file
clone repository: git clone https://github.com/AaronEggert/discord-tempusers.git
You need nodejs and npm installed
Install all requiered packages: npm install
Run the bot: node index.js
You need docker installed
build the image: docker build discord-tempusers:latest .
run the container: docker run --name discord-tempusers -d discord-tempusers:latest
you need to install the docker-compose plugin for docker create a file: docker-compose.yml
version: '3.8'
services:
discord-tempusers:
image: discord-tempusers:latest
restart: always
volumes:
- tempusers-volume:/usr/src/app
volumes:
tempusers-volume:
Usage: /config <time (minutes)>
Role means the guest role. Time means the time in minutes, the user will be kicked after he joined the server.
Usage: /status <user (optional)>
Shows all user (or a specific) with the temp role and thier left time on the server