A lightweight Discord bot for the FFXIV PvP map rotation.
/today— shows today's PvP map./schedule— shows the map for today + the next 7 days.
The map changes daily at 11:00 EDT / 10:00 EST (15:00 UTC).
- Install deps:
npm install
- Copy
.env.exampleto.envand fill in your Discord bot credentials:DISCORD_TOKEN— bot tokenCLIENT_ID— application IDGUILD_ID— your server ID
- Register the slash commands (run once):
npm run deploy
- Start the bot:
npm start
If Square Enix changes the rotation order or it drifts, edit src/rotation.ts:
ROTATION— the ordered list of maps.SEED— a known{ day, index }anchor. Default: 2026-06-23 = index 5 (The Borderland Ruins (Secure)). Thedayis the FFXIV-day label, which begins at the 15:00 UTC reset — so the map active the morning of 2026-06-24 (EDT) belongs to anchor day 2026-06-23.
- Set
DISCORD_TOKEN,CLIENT_ID,GUILD_IDas environment variables in the Pella dashboard. - Start command:
npm start(runstsx src/index.ts, no build step). - Run
npm run deployonce to register the slash commands.
npm test