2/26/2023 0 Comments Webook discord$label_battlelist = GuiCtrlCreateLabel(" Battle List "&" "&$info_battlelist, 20, 100, 170, 20,-1) Global $info_task = "",$info_battlelist = "None",$info_empty = "None",$info_hotkeys = "INACTIVE",$info_100 = "None",$info_mana = "None",$info_food = "None",$info_blank = "None",$info_drop = "None",$info_hand = "None" Global $MainStyle = BitOR($WS_OVERLAPPED, $WS_CAPTION, $WS_SYSMENU, $WS_VISIBLE, $WS_CLIPSIBLINGS, $WS_MINIMIZEBOX, $FW_SEMIBOLD = 600) Local $sFile = "angelica.ico" icon variable Local Const $sFont = "Open Sans" font variable This requires nothing but an up to date AutoIt, cheers! Webhook ( "Awesome" ) Func Webhook ( $Message ) Local $Url = "" Local $oHTTP = ObjCreate ( "winhttp.winhttprequest.5.1" ) Local $Packet = '","stop") end for app kill Also side note, as I said in the last comment it's pure AutoIt, no UDFs.Īs I said before, remember to switch out the Discord webhook URL for your own. I've now modified the code to work after Discord's changes by setting the header to json seeing as we're sending a json object. Wow, it has been a long time since I've written in AutoIt, and a long time since I commented here.ĭon't worry it wasn't working when I tried it either, the issue was that Discord modified their Webhook requirements and were sending an Error 404 Bad Request.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |