A Discord bot, which encourages players to join voice channels.
Use the cloud based solution to add Kirito to your Discord Server.
You can set up your own instance of Kirito using the Docker image.
-
Create a new Discord application under https://discordapp.com/developers/applications/me.
-
Under "APP DETAILS" copy the "Client ID".
-
Add your bot to a server of your choice. (Change the link to match you bots client ID)
- Under "APP BOT USER > Token" press "click to reveal" and copy the token.
Hint: This is your bots application authentication token. Do not give post it while asking for help or give it to anyone.
- Deploy the service using docker compose or docker stack:
docker-compose up
ordocker stack deploy -c docker-compose.yml kirito
.
Please see https://doxdox.org/friedow/kirito for a detailed documentation.
- Javascript is styled by Airbnb guidelines
- Code is documented through jsdoc.
- Clone the repository
git clone git@github.com:friedow/kirito.git
- Enter the directory
cd kirito
- Install dependencies
npm install
-
Create a new Discord application under https://discordapp.com/developers/applications/me.
-
Under "APP DETAILS" copy the "Client ID".
-
Add your development bot to a server of your choice. (Change the link to match you bots client ID)
https://discordapp.com/oauth2/authorize?&client_id=BOT_CLIENT_ID_HERE&scope=bot
- Under "APP BOT USER > Token" press "click to reveal" and copy the token.
Hint: This is your bots application authentication token. Do not give post it while asking for help or give it to anyone.
- Set environment the following variables
AUTH_TOKEN=BOT_AUTH_TOKEN_HERE
DATABASE=kirito
- Run the application and start developing.
npm start