Compare commits
2 Commits
88b4b2c119
...
c18e9897ee
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c18e9897ee | ||
|
|
075859934a |
@@ -3,6 +3,11 @@
|
|||||||
|
|
||||||
; -------------------------------Discord-------------------------------
|
; -------------------------------Discord-------------------------------
|
||||||
PostToDiscordChannel(Message,WebhookChannel){
|
PostToDiscordChannel(Message,WebhookChannel){
|
||||||
|
|
||||||
|
; Don't try to post a message if there is no webhook url
|
||||||
|
if(WebhookChannel = "")
|
||||||
|
Return
|
||||||
|
|
||||||
; Msgbox % "Message: " Message
|
; Msgbox % "Message: " Message
|
||||||
; Msgbox % "WebhookChannel: " WebhookChannel
|
; Msgbox % "WebhookChannel: " WebhookChannel
|
||||||
|
|
||||||
|
|||||||
@@ -102,6 +102,11 @@ TimedToolTip(Text, x="", y="",RemoveAfterTime:=2000, SetWhichToolTip="") {
|
|||||||
|
|
||||||
; -------------------------------LogErrorsToTextFile-------------------------------
|
; -------------------------------LogErrorsToTextFile-------------------------------
|
||||||
Func_LogErrorsToTextFile(Text){
|
Func_LogErrorsToTextFile(Text){
|
||||||
|
|
||||||
|
; Do not log if we do not have an errorlog filepath
|
||||||
|
if(ErrorLoggingFilePath = "")
|
||||||
|
return
|
||||||
|
|
||||||
; ErrorLoggingFile := Filepath
|
; ErrorLoggingFile := Filepath
|
||||||
FormatTime, TodayDate , YYYYMMDDHH24MISS, yyyyMMdd_hhmmss
|
FormatTime, TodayDate , YYYYMMDDHH24MISS, yyyyMMdd_hhmmss
|
||||||
text =
|
text =
|
||||||
|
|||||||
Reference in New Issue
Block a user