Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/skye-31/wordlebot

A discord wordle bot
https://github.com/skye-31/wordlebot

discord discord-bot disgo golang wordle wordle-game

Last synced: 4 months ago
JSON representation

A discord wordle bot

Awesome Lists containing this project

README

        

# WordleBot

Public instance: [Invite](https://discord.com/oauth2/authorize?client_id=948289152514924584&scope=applications.commands)

## Self-Hosting
#### Setup
```shell
git clone https://github.com/Skye-31/WordleBot
cd WordleBot
cp example.config.json config.json
# Edit your config.json file as appropriate
# You should use a Postgresql 12+ database
# Install Docker & Docker Compose
docker-compose build
```
#### Running
The first time you run the bot, you should use the flags --sync-commands and --sync-db to automatically set up your bot commands & database tables.
You can do this by commenting out the line in your `docker-compose.yml`.

Note: If you want to use it on one guild only (via dev-mode in your config.json), you'll need to invite the bot with the `bot+applications.commands` scope, as opposed to just `applications.commands`.

After that, you run the following command.
```shell
docker-compose up -d
```

You'll then need to setup a HTTP proxy to port `:4567` on your server, and add this URL to the http interactions endpoint of your discord application.