1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-04-30 11:09:54 +03:00

FeedbackServiceExtensions: Add FeedbackMessageOptions support (#219)

Required for #218
This commit is contained in:
Macintxsh 2023-12-17 18:44:18 +03:00 committed by GitHub
parent b284ac28d5
commit 9a23e1d533
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 40 additions and 40 deletions

View file

@ -163,7 +163,7 @@ public class ToolsCommandGroup : CommandGroup
.WithFooter($"ID: {target.ID.ToString()}")
.Build();
return await _feedback.SendContextualEmbedResultAsync(embed, ct);
return await _feedback.SendContextualEmbedResultAsync(embed, ct: ct);
}
private static Color AppendGuildInformation(Color color, IGuildMember guildMember, StringBuilder builder)
@ -312,7 +312,7 @@ public class ToolsCommandGroup : CommandGroup
.WithFooter($"ID: {guild.ID.ToString()}")
.Build();
return _feedback.SendContextualEmbedResultAsync(embed, ct);
return _feedback.SendContextualEmbedResultAsync(embed, ct: ct);
}
/// <summary>
@ -389,7 +389,7 @@ public class ToolsCommandGroup : CommandGroup
.WithColour(embedColor)
.Build();
return _feedback.SendContextualEmbedResultAsync(embed, ct);
return _feedback.SendContextualEmbedResultAsync(embed, ct: ct);
}
private static readonly TimestampStyle[] AllStyles =
@ -459,6 +459,6 @@ public class ToolsCommandGroup : CommandGroup
.WithColour(ColorsList.Blue)
.Build();
return _feedback.SendContextualEmbedResultAsync(embed, ct);
return _feedback.SendContextualEmbedResultAsync(embed, ct: ct);
}
}