VTGare / boe-tea-go

Source image bot for Discord
MIT License
20 stars 7 forks source link

boe-tea-go

Boe Tea is an artwork sharing bot for all your artwork-related needs.

Getting started

Invite

To invite him please follow the link above. It requires following permissions to work correctly.

If you ran into a problem or have a suggestion create an issue here, use bt!feedback command or contact me on Discord at VTGare#3599.

Documentation

Please use bt!help command for documentation. Complete documentation is planned, but the progress is extremely slow.

Privacy policy

Please read the following

Contributing

Please read the following

Deployment

Requirements

Locally

  1. Clone this repository. git clone https://github.com/VTGare/boe-tea-go.git
  2. Change working directory to boe-tea-go. cd boe-tea-go
  3. Download all required dependencies. go mod download
  4. Build an executable file. go build ./cmd/boetea
  5. Create a configuration file and fill it up. touch config.json
{
    "discord": {
        "token": "Your Discord bot token. Acquire it on Discord Developer Portal.",
        "author_id": "Your Discord user ID. Gives access to developer commands."
    },
    "mongo": {
        "uri": "mongodb://localhost:27017",
        "default_db": "boe-tea"
    },
    "pixiv": {
        "auth_token": "Pixiv auth token. Refer to https://gist.github.com/upbit/6edda27cb1644e94183291109b8a5fde to acquire.",
        "refresh_token": "Pixiv refresh token. Refer to https://gist.github.com/upbit/6edda27cb1644e94183291109b8a5fde to acquire.",
        "proxy_host": "Pixiv reverse proxy host, defaults to https://boetea.dev"
    },
    "repost": {
        "type": "Two options are supported: redis and memory.",
        "redis_uri": "Fill this in if repost type is redis."
    },
    "saucenao": "Sauce NAO API key, optional",
    "sentry": "Sentry API key, optional",
    "quotes": [
        {
            "content": "Embed footer message",
            "nsfw": false
        }
    ]
}
  1. Run the executable file.