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:
parent
5b4d581325
commit
5483bbd203
3 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue