عکس mrjosh
👾 Dota 2 Runes reminder bot with discordGo
موضوع‌ها
۰
فورک‌ها
۱
ستاره‌ها
۷
تاریخ ایجاد
۱۸ تیر ۱۳۹۸
آخرین بروزرسانی
بیشتر از ۱ سال قبل
                           ____        __ 
    ____  ___  ____  ___  / __ )____  / /_
   / __ \/ _ \/ __ \/ _ \/ __  / __ \/ __/
  / /_/ /  __/ /_/ /  __/ /_/ / /_/ / /_  
 / .___/\___/ .___/\___/_____/\____/\__/  
/_/        /_/                            

This project is under construction.

Pull docker imgae

$ docker pull mrjoshlab/pepebot:latest

Configurations

  • We're using hcl (Hashicorp Config Language) ```hcl discord { token = "" }

sounds { type = "filesystem" path = "./sounds" win = ["gta", "win"] loss = ["loss"] runes = ["runes"] }

db { type = "sqlite3" path = "./db/data/pepebot.db" }

steam { web_api_token = ""

For getting match summeries from valve official apis

}


## Using docker image
```bash
docker run -dp 9001:9001 --volume $PWD/db/data:/data --volume $PWD/config.hcl:/config/config.hcl mrjoshlab/pepebot:latest --config-file=/config/config.hcl

docker compose example

version: '3'

services:

  bot:
    container_name: pepebot
    image: mrjoshlab/pepebot:latest
    restart: always
    command: ["--config-file", "/config/config.hcl"]
    ports:
      - 9001:9001
    volumes:
      - $PWD/db/data:/data
      - $PWD/config.hcl:/config/config.hcl

Pull git repo

$ git clone https://github.com/mrjosh/pepebot.git

Build the docker image

$ docker-compose build

Run the docker image

$ docker-compose up -d

Ez :)