Skip to content

Commit

Permalink
refactor: improve formatting of server IP value in Discord alert
Browse files Browse the repository at this point in the history
The code changes in this commit refactor the formatting of the server IP value in the Discord alert. The value is now enclosed in single quotes for better readability.
  • Loading branch information
dgibbs64 committed Oct 17, 2023
1 parent 237baf8 commit b127005
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lgsm/modules/alert_discord.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jsoninfo=$(
},
{
"name": "Server IP",
"value": "${alertip}:${port}",
"value": "\`${alertip}:${port}\`",
"inline": true
},
{
Expand Down Expand Up @@ -92,7 +92,7 @@ jsonnoinfo=$(
},
{
"name": "Server IP",
"value": "${alertip}:${port}",
"value": "\`${alertip}:${port}\`",
"inline": true
},
{
Expand Down

0 comments on commit b127005

Please sign in to comment.