jarylc / cf-workers-chatgpt-discord-bot

Synced from GitLab - Deploy your own Serverless Discord bot integration to quickly interface with OpenAI's ChatGPT Completion API (gpt-3.5-turbo / gpt-4)
https://gitlab.com/jarylc/cf-workers-chatgpt-discord-bot
MIT License
12 stars 2 forks source link

DISCORD_USERID_WHITELIST must be empty to register INTERACTIONS ENDPOINT URL #4

Open BadToxic opened 2 months ago

BadToxic commented 2 months ago

When adding the INTERACTIONS ENDPOINT URL for the discord application image I always got the notofication the URL could not be verified and the changes not be saved. When I checked the code I saw, that entries in DISCORD_USERID_WHITELIST prevent Discord's check requests from going through.

It would be good to at least mention in the readme, that the whitelist must be empty and can be set after registering the URL.

jarylc commented 2 months ago

Ah I didn't know DISCORD_USERID_WHITELIST affected the onboarding process, I'll see if there's a better way to resolve that.