1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-04-29 18:49:53 +03:00

Add .AddBulletPoint()

This commit is contained in:
Macintxsh 2023-12-04 15:43:23 +03:00
parent c52fe1ce09
commit 76d1089c38
Signed by: mctaylors
GPG key ID: 7181BEBE676903C1
6 changed files with 17 additions and 7 deletions

View file

@ -134,7 +134,7 @@ public class KickCommandGroup : CommandGroup
{
var dmEmbed = new EmbedBuilder().WithGuildTitle(guild)
.WithTitle(Messages.YouWereKicked)
.WithDescription($"- {string.Format(Messages.DescriptionActionReason, reason)}")
.WithDescription(string.Format(Messages.DescriptionActionReason, reason).AddBulletPoint())
.WithActionFooter(executor)
.WithCurrentTimestamp()
.WithColour(ColorsList.Red)
@ -159,7 +159,7 @@ public class KickCommandGroup : CommandGroup
data.GetOrCreateMemberData(target.ID).Roles.Clear();
var title = string.Format(Messages.UserKicked, target.GetTag());
var description = $"- {string.Format(Messages.DescriptionActionReason, reason)}";
var description = string.Format(Messages.DescriptionActionReason, reason).AddBulletPoint();
var logResult = _utility.LogActionAsync(
data.Settings, channelId, executor, title, description, target, ColorsList.Red, ct: ct);
if (!logResult.IsSuccess)