Discord bot for the Woodburn server. This bot adds some Handshake related commands to the server.
Go to file
Nathan Woodburn fdc5e66daa
All checks were successful
Build Docker / Build Docker (push) Successful in 20s
fix: Use another dns server
2024-02-20 17:26:02 +11:00
.gitea/workflows feat: Build for amd 2024-02-07 18:10:47 +11:00
.env.example bot: Auto get admin id 2023-08-12 17:14:55 +10:00
.gitignore feat: Add reminders 2023-11-14 13:05:41 +11:00
bot.py fix: Use another dns server 2024-02-20 17:26:02 +11:00
chatai.py fix: ai module typo 2023-11-13 20:16:01 +11:00
Dockerfile docker: Don't auto mount 2023-10-01 22:51:13 +11:00
LICENSE.md Initial commit 2023-08-11 15:30:19 +10:00
README.md bot: Auto get admin id 2023-08-12 17:14:55 +10:00
requirements.txt feat: Add ai command 2023-11-13 20:11:49 +11:00
support.py fix: Ticket dm output for error checking 2024-02-20 12:11:39 +11:00
tools.py feat: Update reminders to have public ones 2024-02-08 11:22:23 +11:00

Woodburn Bot

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

Commands

  • /ping - Check if the bot is online
  • /dig <domain> - Get the DNS records for a domain
  • /curl <url> - Get the HTTPS response headers for a URL
  • /shortlink <url> - Shorten a URL using Kutt.it (requires a Kutt API key & admin role)
  • /botstatus - Update the bot status (requires admin role)
  • /invite - Get an invite link for the Bot (not implemented properly dynamically yet)

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 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