SPooCK submitted a new resource:
Discord Bot - WebHook Standalone Discord Bot
Discord Bot - WebHook Standalone Discord Bot
Read more about this resource...
Last edited:
Read more about this resource...
Loom.ExecuteInBiggerStackThread(lambda:
WebHook.execute()
)
Noted. Just warming up to the old Legacy development.Overall code seems fine, and safe. Approved.
I suggest to use threading when doing web requests, because It will hold down the main thread, and will cause the server to lagg sometimes.
(I know, the wiki is down.)
Python:Loom.ExecuteInBiggerStackThread(lambda: WebHook.execute() )
Read the rest of this update entry...As suggested from @DreTaX , I've put the handling of the Web POST in the Main Thread, which should reduce any existing lag/delay.
Thanks! I was wondering wtf is this:
[Python DiscordBot.On_PlayerConnected] Took: 0s (179ms)
My Rust skills are Rusty, but I'm getting back on track! Well, as long its put in the right place, I'm happy enough. Too much of a headache knowing the right methodology, main thread, sub thread...You actually put the handling in a sub thread ^^
The Fougerite system now shows if something takes very long to call.
The page just explains that there are functions that must be called on the main thread.
So its not webhooks in the channel then? it requires an actual bot??You BOT needs to be in your Discord Server in which you want to send messages from, otherwise it will not work.
I got confused with another Discord, bot I got on my PC, so don't mind my last message.Nothing?
Read the rest of this update entry...Using new Web.CreateAsyncHTTPRequest instead of loom
Well It wasn't really Fougerite, but the TLS encryptions, and new SSL certs. The compatibility is fixed in 1.8.0 by upgrading some native dlls, and extending mono.There seems to be a problem with Web. POST Fougerite method going through Python for some reason, in this case, cause I can't seem to find any proper solution, the plugin needs to be rewritten in C#, if I ever get the time to do that...
Really don't know what may have broken within Fougerite updates recently...