forked from sass/tipibot
74 lines
2.9 KiB
Plaintext
74 lines
2.9 KiB
Plaintext
|
|
# Profile-specific Discord bot tokens (from https://discord.com/developers/applications)
|
|
DISCORD_TOKEN_DEV=your-dev-bot-token-here
|
|
DISCORD_TOKEN_ECONOMY=your-economy-bot-token-here
|
|
|
|
# Legacy fallback token (optional, backward compatibility)
|
|
DISCORD_TOKEN=
|
|
|
|
# Google Sheets spreadsheet ID (the long string in the sheet URL)
|
|
SHEET_ID=your-google-sheet-id-here
|
|
|
|
# Separate spreadsheet holding tournament team registrations (Team Name + lineup
|
|
# of Discord usernames). Optional; a FALLBACK source for /teamsync + hourly
|
|
# team-role sync on the economy/community bot. Leave unset to disable it.
|
|
TEAM_SHEET_ID=
|
|
|
|
# Fienta ticketing - PRIMARY source for team-role sync. The registration collects
|
|
# each competitor's Discord username + team name per ticket, so matching is by
|
|
# real Discord handle (not game nickname). Get an API token from the Fienta admin
|
|
# (organizer settings) and the event's numeric ID from its dashboard URL. Leave
|
|
# unset to use only the sheet.
|
|
FIENTA_API_TOKEN=
|
|
FIENTA_EVENT_ID=
|
|
|
|
# Where each game's team roles get positioned in the role list. The key suffix
|
|
# is matched against the section's title row in the sheet ("TipiLAN 2026 CS2
|
|
# Registration Log") - every underscore-separated part must appear in it, so
|
|
# CS2_2026 matches only the 2026 CS2 block while a plain CS2 would match any
|
|
# year. The value is the Discord role ID to place those teams under (matching by
|
|
# ID means renaming the divider role never breaks positioning).
|
|
# Optional: sections that match nothing still get their roles, just unpositioned.
|
|
TEAM_DIVIDER_CS2_2026=1498736834656604251
|
|
TEAM_DIVIDER_LOL_2026=1498736949706490017
|
|
|
|
# Path to Google service account credentials JSON
|
|
GOOGLE_CREDS_PATH=credentials.json
|
|
|
|
# Profile-specific guild (server) IDs - right-click your server with dev mode on
|
|
GUILD_ID_DEV=your-dev-guild-id-here
|
|
GUILD_ID_ECONOMY=your-economy-guild-id-here
|
|
|
|
# Legacy fallback guild ID (optional, backward compatibility)
|
|
GUILD_ID=
|
|
|
|
# Channel ID where birthday announcements are posted (dev profile)
|
|
BIRTHDAY_CHANNEL_ID_DEV=your-dev-birthday-channel-id-here
|
|
|
|
# Optional birthday channel for economy profile (normally unset for economy-only bot)
|
|
BIRTHDAY_CHANNEL_ID_ECONOMY=
|
|
|
|
# Legacy fallback birthday channel ID (optional, backward compatibility)
|
|
BIRTHDAY_CHANNEL_ID=
|
|
|
|
# How many days before a birthday the on-join check counts as "coming up"
|
|
BIRTHDAY_WINDOW_DAYS=7
|
|
|
|
# Channel ID where the daily lottery draw result is announced (optional - the
|
|
# draw still runs and pays the winner if unset; per-profile like BIRTHDAY_CHANNEL)
|
|
LOTTERY_CHANNEL_ID_DEV=
|
|
LOTTERY_CHANNEL_ID_ECONOMY=
|
|
LOTTERY_CHANNEL_ID=
|
|
|
|
# PocketBase backend (https://pocketbase.io)
|
|
PB_URL=http://127.0.0.1:8090
|
|
PB_ADMIN_EMAIL=admin@example.com
|
|
PB_ADMIN_PASSWORD=your-pb-admin-password
|
|
|
|
# Profile-specific PocketBase collections
|
|
PB_ECONOMY_COLLECTION_DEV=economy_users_dev
|
|
PB_ECONOMY_COLLECTION_ECONOMY=economy_users_prod
|
|
|
|
# Legacy fallback collection name (optional, backward compatibility)
|
|
PB_ECONOMY_COLLECTION=
|