Skip to content

Latest commit

History

103 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

STFC Tools Discord Bot

Cloudflare Worker Discord bot for Star Trek Fleet Command (STFC):

  • Alliance verification — DM flow, stfc.pro validation, role assignment
  • Alliance roster sync — morning fetch of your alliance page; day-over-day joins/leaves/ops/rank report on the audit channel; verify + daily sync prefer the cache (single-alliance)
  • Coordinate lookup — parse in-game share links
  • Tables — ASCII tables from CSV

Version: see VERSION_HISTORY.md (MAJOR.MINOR.INCREMENTAL). Current release is shown in /server status.

Setup: see SETUP.md for fresh install and migration from older versions.

Discord admins: see docs/ADMIN_GUIDE.md for in-server configuration (roles, nicknames, channels, verification log, daily alliance roster).

Development context: see AGENTS.md (architecture, roster sync, cron).

Commands

CommandDescription
/lookupSTFC coordinate lookup
/tableASCII table from CSV
/playerstfc.pro player lookup (requires /server setup)
/verifyVerify STFC account with stfc.pro link
/server setupConfigure guild (admin)
/server statusShow guild configuration
/channels …Personal channels, link existing, verification/audit/urgent logs
/diplomacy …Multi-alliance diplomacy channels

Quick start

npm install
cp .env.template .env # fill in Discord + D1 IDs — see SETUP.md
npm run push-env
npm run db:migrate
npm run deploy
npm run register-commands

Full step-by-step instructions (Discord portal, secrets, Gateway, troubleshooting): SETUP.md.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages