Skip to content

ist-bot-team/ist-discord-bot

Repository files navigation

IST Discord Bot

Discord bot to manage the IST Hub server -- join here.

Running

  1. Create a docker-compose.yml file as below:
version: "3.8"

services:
    ist-discord-bot:
        image: ist-bot-team/ist-discord-bot:v2.0.0 # or 'build: .' if working locally
        volumes:
            - type: bind
              source: ./data
              target: /app/data
        environment:
            DISCORD_TOKEN: PLACE_BOT_TOKEN_HERE
            TZ: Europe/Lisbon # default timezone for crontab and other date related stuff
        restart: unless-stopped
  1. Run docker-compose up -d --build
  2. That's it!

You can also use docker-compose down, docker-compose up, docker-compose restart and docker-compose logs [-f].

Adding to a Server

Replacing CLIENT_ID with the application's public ID, access the following link:

https://discord.com/oauth2/authorize?client_id=CLIENT_ID&scope=bot+applications.commands&permissions=8