Skip to content

Commit

Permalink
Update ConnectionLogs.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
MADNESSZ1RA authored Jul 14, 2024
1 parent 1c56e02 commit 3ad57fb
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions ConnectionLogs/ConnectionLogs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,12 @@ private async void SendToDiscord(string webhookUrl, string title, string playerN
$"**{_phrases.Admin}** {adminStatus}\n" +
$"**{_phrases.Vip}** {vipStatus}\n" +
playTimeString +
$"**{_phrases.Url}** [{_phrases.UrlClick}](https://steamcommunity.com/profiles/{SteamId32To64(playerId)})",
inline = false
$"**{_phrases.Url}** [{_phrases.UrlClick}](https://steamcommunity.com/profiles/{SteamId32To64(playerId)})\n\n" +

$"**{_phrases.Server}**\n"+
$"**IP:** {_phrases.ServerIp}\n" +
$"**Name:** {_phrases.ServerName}\n",
inline = false,
}
}
}
Expand Down Expand Up @@ -299,7 +303,10 @@ private Phrases CreatePhrases(string phrasesPath)
NoVip = "",
Url = "",
UrlClick = "",
PlayerTime = ""
PlayerTime = "",
Server = "",
ServerIp = "",
ServerName = "",
};
try
{
Expand Down Expand Up @@ -331,6 +338,9 @@ public class Phrases
public required string Url { get; set; }
public required string UrlClick { get; set; }
public required string PlayerTime { get; set; }
public required string Server { get; set; }
public required string ServerIp { get; set; }
public required string ServerName { get; set; }
}
public class Config
{
Expand Down

0 comments on commit 3ad57fb

Please sign in to comment.