Closed Gazoo101 closed 2 years ago
Not sure, HTTP Get request might be fine, HTTP Post request is used for sending messages, and the bot needs to have send message permission in the channel it wants to send, and the channel id needs to be correct.
Appreciate you taking the time to respond @yourWaifu ! I've opted to circumvent the problem rather than troubleshoot it further.
I've compiled and run 2 sleepy-discord examples: 'hello' and 'rock-paper-scissors'. In both examples, sleepy-discord connects as intended, receives messages, but doesn't send anything back to the channel.
I've fiddled with bot permissions, going as far as making it
Administrator
just to be sure no permissions are missing.I've also tried adding the server intent (
client.setIntents(SleepyDiscord::Intent::SERVER_MESSAGES);
) present in the documentation, which appears to be missing from the 'hello' example.But no luck. Still no message appears to get sent from sleepy-discord.
Any ideas of what I might be missing and what's keeping sleepy-discord from sending any message back to a channel?