Discord bot for the Woodburn server. This bot adds some Handshake related commands to the server.
Go to file
Nathan Woodburn 2b0477aee2
All checks were successful
Build Docker / Build Docker (push) Successful in 20s
bot: Added easier install
2023-08-12 16:52:01 +10:00
.gitea/workflows actions: Revert to old method 2023-08-12 15:02:57 +10:00
.env.example bot: Added easier install 2023-08-12 16:52:01 +10:00
.gitignore bot: initial code 2023-08-11 15:55:44 +10:00
bot.py bot: Added easier install 2023-08-12 16:52:01 +10:00
Dockerfile bot: initial code 2023-08-11 15:55:44 +10:00
LICENSE.md Initial commit 2023-08-11 15:30:19 +10:00
README.md bot: Added easier install 2023-08-12 16:52:01 +10:00
requirements.txt bot: Add dig command 2023-08-11 17:24:11 +10:00

Woodburn Bot

Discord bot for the Woodburn server. This bot adds some Handshake related commands to the server.

Commands

  • /shortlink <url> - Shorten a URL using Kutt.it (requires a Kutt API key) only allowed for specied user

Setup

Docker

The easiest way to run this bot is to use Docker. You can use the following command to run the bot:

docker run -d -e DISCORD_TOKEN=<YOUR-BOT-TOKEN> -e LINK_API_KEY=<KUTT-API-KEY> -e LINK_URL=<KUTT-URL> -e ADMIN=<your-discord-userid> -e LOG_CHANNEL=<DISCORD-CHANNEL-ID> git.woodburn.au/nathanwoodburn/woodburn-bot:latest

Manual

If you don't want to use Docker, you can run the bot manually.

git clone https://git.woodburn.au/nathanwoodburn/woodburn-bot.git
cd woodburn-bot
python3 -m pip install -r requirements.txt
cp .env.example .env
# Edit .env and fill in your info
python3 main.py