jay
jay
DIdiscord.js - Imagine ❄
Created by jay on 8/23/2022 in #djs-questions
Content-Type error when registering guild commands
I have been trying to register slash commands to my guild for the past few minutes, but when I try do so I get met with 0[CONTENT_TYPE_INVALID]: Expected "Content-Type" header to be one of {'application/json'} Code if needed: https://sourceb.in/oTF3QdV6se (Command handler for clarification)
11 replies