#Problems by sending DiscordWebhookBuilder
1 messages · Page 1 of 1 (latest)
Hello, I'm an automated bot to help people with common issues. Here's a list of stuff that I think are related to your problem.
As of September 1st 2022, Discord started requiring message content intent for bots that want to read message content. This is a privileged intent!
If your bot has under 100 guilds, all you have to do is flip the switch in the developer dashboard (over at https://discord.com/developers/applications, also see the image) and then specifying the intent in your DiscordConfiguration (see the code example)
If your bot has over 100 guilds, you'll need approval from Discord's end.
Even though you can just use this to get away with it, it is recommended by Discord to use Slash Commands whenever possible, so look into that if you can (Slash Commands Documentation)
Code Example:
DiscordConfiguration config = new() {
// ...
// If you do not set this, your bot will fail to start with the error code: "Disallowed intent(s)"
Intents = DiscordIntents.AllUnprivileged | DiscordIntents.MessageContents,
// ...
}
bot you arent helpfull this time 😦
this works fine DiscordSelectComponent(nameof(UserSelectedTrack), null, this.GetQueueOptions(listOfTracks, ctx.InteractionId), false);
picture show values from GetQueueOptions
this not DiscordSelectComponent(nameof(EditPlayList), null, options, false, 1, ChannelInteraction.MAX_PLAYLIST_AMOUNT);
ChannelInteraction.MAX_PLAYLIST_AMOUNT = 25
picture shows options