Closed AngryUshanka closed 2 years ago
I believe this has been fixed in the develop version of the library https://github.com/yourWaifu/sleepy-discord/blob/0f090ffc883dd7f0212969c5bed9c2b1699b2a38/sleepy_discord/endpoints.cpp#L210-L214 https://github.com/yourWaifu/sleepy-discord/blob/cfb0900eb0a5636dd4c1d7a8beb0fd1c3f3e881f/sleepy_discord/endpoints.cpp#L225-L229
createTextChannel(message.serverID, "channel"); on execution gives this error.
Error 400: The request was improperly formatted, or the server couldn't understand it Error 5005: {"type": ["Value \"text\" is not int."]}
I cannot change the type value of this function.createChannel doesn't exist at all and gives me an error. Despite existing in the documentation