oops
This commit is contained in:
parent
55453cf795
commit
8b5f0e83c4
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ internal partial class ModLogs {
|
||||||
/// Builds and returns an embed which displays this log entry.
|
/// Builds and returns an embed which displays this log entry.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private Embed BuildLogEmbed(ModLogEntry entry) {
|
private Embed BuildLogEmbed(ModLogEntry entry) {
|
||||||
var issuedDisplay = Utilities.TryFromEntityNameString(entry.IssuedBy, bot);
|
var issuedDisplay = Utilities.TryFromEntityNameString(entry.IssuedBy, Bot);
|
||||||
string targetDisplay;
|
string targetDisplay;
|
||||||
var targetq = Bot.EcQueryUser(entry.UserId.ToString());
|
var targetq = Bot.EcQueryUser(entry.UserId.ToString());
|
||||||
if (targetq != null) targetDisplay = $"<@{targetq.UserId}> - {targetq.Username}#{targetq.Discriminator} `{targetq.UserId}`";
|
if (targetq != null) targetDisplay = $"<@{targetq.UserId}> - {targetq.Username}#{targetq.Discriminator} `{targetq.UserId}`";
|
||||||
|
|
Loading…
Reference in a new issue