sylveon / discord-ban-appeals

Sample ban appeals page with OAuth2 integration
https://discord-ban-appeal-preview.netlify.app/
MIT License
137 stars 45 forks source link

Issues #45

Open ghost opened 2 years ago

ghost commented 2 years ago

Not working

sylveon commented 2 years ago

Could you be more descriptive? How isn't it working?

ishaantek commented 2 years ago

{"errorType":"Error","errorMessage":"Failed to get user ban","trace":["Error: Failed to get user ban"," at getBan (/var/task/func/helpers/user-helpers.js:41:15)"," at processTicksAndRejections (internal/process/task_queues.js:95:5)"," at async Runtime.exports.handler (/var/task/func/oauth-callback.js:44:25)"]}

jcsumlin commented 2 years ago

It failed to fetch a users ban status here which means one of the three variables could be wrong. I would first try triggering a deploy to make sure environment variables are set properly then maybe checking the bot's permissions

ishaantek commented 2 years ago

Thank you so much, I was able to fix it. I really appreciate it!

github-actions[bot] commented 3 days ago

This issue is stale because it has been open for 30 days with no activity.