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

Bump the remora group with 4 updates (#259)

This commit is contained in:
dependabot[bot] 2024-02-06 12:09:26 +00:00 committed by GitHub
parent 5b4d581325
commit 5483bbd203
Signed by: GitHub
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View file

@ -101,10 +101,10 @@ public class ToolsCommandGroup : CommandGroup
{
var builder = new StringBuilder().AppendLine($"### <@{target.ID}>");
if (target.GlobalName is not null)
if (target.GlobalName.IsDefined(out var globalName))
{
builder.AppendBulletPointLine(Messages.UserInfoDisplayName)
.AppendLine(Markdown.InlineCode(target.GlobalName));
.AppendLine(Markdown.InlineCode(globalName));
}
builder.AppendBulletPointLine(Messages.UserInfoDiscordUserSince)