We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e98def commit 1a508c9Copy full SHA for 1a508c9
src/Bot/Systems/Commands/Text/Modules/Utility/InfoCommands.cs
@@ -29,10 +29,12 @@ public Task<ActionResult> UserInfoAsync(
29
{
30
user ??= Context.User;
31
32
+ var activity = getRelevantActivity();
33
+
34
return Ok(Context.CreateEmbedBuilder()
35
.WithTitle(user.ToString())
36
.AddField("ID", user.Id, true)
- .AddField("Activity", getRelevantActivity(), true)
37
+ .AddField("Activity", activity.IsNullOrEmpty() ? "Nothing" : activity, true)
38
.AddField("Status", user.Status, true)
39
.AddField("Is Bot", user.IsBot ? "Yes" : "No", true)
40
.AddField("Role Hierarchy", user.Hierarchy, true)
0 commit comments