Discord API responding with “Request failed with status code 401”
I am developing a discord servers list, the site itself is complete, but I am having major issues ever since switching to slash commands (requirement for verification, unless approved for Message Intent). Basically what I am trying to accomplish (and what was working prior to switching to slash commands) is when my bot joins a guild, an admin can type: /setup – this command is supposed to get the guild id, approx. member count, server icon and send the information to my database (api/update-database.php) where server_id = ?.