aboutsummaryrefslogtreecommitdiff
path: root/174bg
diff options
context:
space:
mode:
authorAlex Pooley (@zuedev) <zuedev@gmail.com>2026-07-06 00:24:16 +0100
committerAlex Pooley (@zuedev) <zuedev@gmail.com>2026-07-06 00:24:16 +0100
commite3971f1799054a64843557d9bd75f2c4709e6bfa (patch)
treeb2bc901268e1ab5118da899ad53bd4443de7f00b /174bg
parentaa5d7e4730eece2190bdb44d3d890759f6773379 (diff)
downloadunnamed-group-e3971f1799054a64843557d9bd75f2c4709e6bfa.tar
unnamed-group-e3971f1799054a64843557d9bd75f2c4709e6bfa.tar.gz
unnamed-group-e3971f1799054a64843557d9bd75f2c4709e6bfa.tar.bz2
unnamed-group-e3971f1799054a64843557d9bd75f2c4709e6bfa.tar.xz
unnamed-group-e3971f1799054a64843557d9bd75f2c4709e6bfa.zip
readme
Diffstat (limited to '174bg')
-rw-r--r--174bg/discord-bot/README.md41
1 files changed, 41 insertions, 0 deletions
diff --git a/174bg/discord-bot/README.md b/174bg/discord-bot/README.md
new file mode 100644
index 0000000..dc65293
--- /dev/null
+++ b/174bg/discord-bot/README.md
@@ -0,0 +1,41 @@
+# 174BG Discord Bot
+
+This repository contains the source code for the official Discord bot for the 174th Battle Group community. The bot is written in JavaScript using the [discord.js](https://discord.js.org) library.
+
+## Features
+
+- `/create-requisition-ticket` — Creates a private ticket channel under the **tickets** category so a member can submit a request to the Quartermaster role.
+- `/delete-all-requisition-tickets` — Bulk-deletes all open requisition tickets. Restricted to administrators.
+- Logs ticket activity (creation and closure) to a **logs** channel.
+
+## Setup
+
+1. Install dependencies:
+
+ ```sh
+ npm install
+ ```
+
+2. Copy `.env.example` to `.env` and fill in the values:
+
+ ```
+ DISCORD_CLIENT_ID=
+ DISCORD_BOT_TOKEN=
+ ```
+
+3. Run the bot:
+
+ ```sh
+ npm start
+ ```
+
+ During development, use `npm run dev` (or `npm run dev:watch` to restart on file changes) to load the `.env` file automatically.
+
+## Deployment
+
+A `Dockerfile` is provided to build and run the bot in a container:
+
+```sh
+docker build -t 174bg-discord-bot .
+docker run --env-file .env 174bg-discord-bot
+```