bug fixes for when there are no errorlog filepath or discord webhook

This commit is contained in:
Yuriy
2024-04-17 17:09:08 -04:00
parent e32fe026e9
commit 075859934a
2 changed files with 10 additions and 0 deletions

View File

@@ -5,6 +5,11 @@
; -------------------------------Discord-------------------------------
PostToDiscordChannel(Message,WebhookChannel){
; Don't try to post a message if there is no webhook url
if(WebhookChannel = "")
Return
; Msgbox % "Message: " Message
; Msgbox % "WebhookChannel: " WebhookChannel