(ifcbrk) fix: Add AllowedMentions to webhooks (#1602)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#pragma warning disable CS1591
|
||||
#pragma warning disable CS1591
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Discord.API.Rest
|
||||
@@ -19,6 +19,8 @@ namespace Discord.API.Rest
|
||||
public Optional<string> Username { get; set; }
|
||||
[JsonProperty("avatar_url")]
|
||||
public Optional<string> AvatarUrl { get; set; }
|
||||
[JsonProperty("allowed_mentions")]
|
||||
public Optional<AllowedMentions> AllowedMentions { get; set; }
|
||||
|
||||
public CreateWebhookMessageParams(string content)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user