Closed totallytavi closed 1 year ago
I need more than message create. DiscordRemote listens for messages with commands and responds to them, which. requires the Message Content intent.
If you only use the notification system of discord, you may want to consider Octorant, which is the plugin this grew from, which doesnt even require a bot.
I am happy for you to update the documentation, or even submit an MR to fix whatever issues you find with the permissions, but I have no free time to update and correct it myself.
Good to know!
I second this, this is a requirement for some of the recent updates of DiscordRemote to actually function properly.
Opened a PR that fixes this. While I can't write the code to fix this, I added some extra documentation. Hope this helps!
Is your feature request related to a problem? Please describe. When setting up the bot, I had a lot of trouble and until I opened
octopi.log
, I couldn't find the source of my troubles. Turns out, the program requests intents that the bot account is not cleared for. Due to this, Discord rejected the bot's startup attempt.Describe the solution you'd like If possible, placing a notice to users that they must enable every single privileged intent would be very useful, especially for first-time users! I've attached a screenshot below of what that looks like.
Describe alternatives you've considered Alternatively, Discord's
Interaction
system could be applied, removing the need for privileged intents (Message Content). I haven't poked into the code a lot but I notice the bot requests all intents, which isn't great if you're getting a bunch of events you do nothing with. You could reduce the intents by restricting it to themessageCreate
events (I think that's what you only need, but I could be wrong).Additional context Error in the log file