[Feature] Default thread ratelimit in guild text channels (#2622)

* initial commit

* mocked bruh
This commit is contained in:
Misha133
2023-03-31 14:22:00 +03:00
committed by GitHub
parent 529fe3d969
commit f9c8530a89
10 changed files with 41 additions and 18 deletions

View File

@@ -65,6 +65,7 @@ namespace Discord.Rest
Deny = overwrite.Permissions.DenyValue.ToString()
}).ToArray()
: Optional.Create<API.Overwrite[]>(),
DefaultSlowModeInterval = args.DefaultSlowModeInterval
};
return await client.ApiClient.ModifyGuildChannelAsync(channel.Id, apiArgs, options).ConfigureAwait(false);
}