fix: remove unnecessary async methods, fix PluralkitApiService
This commit is contained in:
parent
086eb95452
commit
db01f879bd
10 changed files with 96 additions and 73 deletions
|
|
@ -141,8 +141,7 @@ public class ChannelUpdateResponder(
|
|||
// Sometimes we get channel update events for channels that didn't actually have anything loggable change.
|
||||
// If that happens, there will be no embed fields, so just check for that
|
||||
if (builder.Fields.Count == 0) return Result.Success;
|
||||
await webhookExecutor.QueueLogAsync(guildConfig, LogChannelType.ChannelUpdate,
|
||||
builder.Build().GetOrThrow());
|
||||
webhookExecutor.QueueLog(guildConfig, LogChannelType.ChannelUpdate, builder.Build().GetOrThrow());
|
||||
|
||||
return Result.Success;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue