mirror of
https://github.com/djdevin/recflare.git
synced 2026-10-25 23:18:51 -07:00
[www] discord role sync
This commit is contained in:
@@ -202,3 +202,14 @@ RECFLARE_DOMAIN=rec.example.com
|
||||
# Also add https://<your domain>/claim to the app's Redirects in the Discord developer
|
||||
# portal, or the exchange is refused. Granting Plus takes effect on the player's NEXT
|
||||
# sign-in. `runx admin grant-plus` sets it directly, with no Discord involved.
|
||||
#
|
||||
# OPTIONAL: the daily role refresh (www cron) re-reads claimed members' roles through a
|
||||
# bot token, so `platform_account.role` tracks the guild instead of the day they claimed.
|
||||
# Add a bot user to the same Discord app, invite it to the server (no permissions needed),
|
||||
# and store its token in the Secrets Store:
|
||||
#
|
||||
# wrangler secrets-store secret create <store-id> --name DISCORD_BOT_TOKEN \
|
||||
# --scopes workers --remote
|
||||
#
|
||||
# The binding has to resolve for `www` to deploy, so create it with a placeholder even if
|
||||
# you don't want the sweep — it then does nothing. It never touches hasPlus.
|
||||
|
||||
Reference in New Issue
Block a user