mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 17:58:26 -04:00
- Fixed some potential causes for ratelimit due to default message retry settings
- Fixed a patron rewards bug caused by monthly donation checking not accounting for year increase - Fixed a patron rewards bug for users who connected the same discord account with multiple patreon accounts
This commit is contained in:
@@ -23,11 +23,7 @@ public static class MessageChannelExtensions
|
||||
embeds: embeds is null
|
||||
? null
|
||||
: embeds as Embed[] ?? embeds.ToArray(),
|
||||
components: components,
|
||||
options: new()
|
||||
{
|
||||
RetryMode = RetryMode.AlwaysRetry
|
||||
});
|
||||
components: components);
|
||||
}
|
||||
|
||||
public static async Task<IUserMessage> SendAsync(
|
||||
|
@@ -23,11 +23,7 @@ public static class SocketMessageComponentExtensions
|
||||
? null
|
||||
: embeds as Embed[] ?? embeds.ToArray(),
|
||||
components: components,
|
||||
ephemeral: ephemeral,
|
||||
options: new()
|
||||
{
|
||||
RetryMode = RetryMode.AlwaysRetry
|
||||
});
|
||||
ephemeral: ephemeral);
|
||||
}
|
||||
|
||||
public static Task RespondAsync(
|
||||
|
Reference in New Issue
Block a user