We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't use the SuppressNotification flag with webhooks. This flag is actually available for webhooks.
3.15.3
No response
Unhandled exception. System.ArgumentException: The only valid MessageFlags are SuppressEmbeds and none. (Parameter 'flags') at Discord.Webhook.WebhookClientHelper.SendMessageAsync(DiscordWebhookClient client, String text, Boolean isTTS, IEnumerable`1 embeds, String username, String avatarUrl, AllowedMentions allowedMentions, RequestOptions options, MessageComponent components, MessageFlags flags, Nullable`1 threadId, String threadName, UInt64[] appliedTags, PollProperties poll) at Program.<Main>$(String[] args) in D:\Programing\ConsoleApp\Program.cs:line 7 at Program.<Main>(String[] args)
var client = new DiscordWebhookClient(url); await client.SendMessageAsync( "message", flags: MessageFlags.SuppressNotification );
Discord.Net.Webhook Version:3.15.3
Irrelevant.
The text was updated successfully, but these errors were encountered:
SuppressNotification
Misha-133
Successfully merging a pull request may close this issue.
Check The Docs
Verify Issue Source
Check your intents
Description
Can't use the SuppressNotification flag with webhooks.
This flag is actually available for webhooks.
Version
3.15.3
Working Version
No response
Logs
Sample
Packages
Discord.Net.Webhook Version:3.15.3
Environment
Irrelevant.
The text was updated successfully, but these errors were encountered: