Open bitnykk opened 3 years ago
Heya – Thanks a ton for your issues! However, this repository is mostly dead/unmaintained and the project is over three years old and was never finished/in a fully working state. If possible, I'd recommend using an alternative.
Hey Noah,
Thanks for your reply !
Yes i figured out BetterClient was rather unfinished, i've tried other candidates API & found 1 very light working just based on curl + Discord REST only (no Websocket complication involved).
So for now i'll go with that, as other things i tried were whether too complex (React/Laravel based like Yasmin or DiscordPHP do) or not thread optimized (e.g. Nebucord which is excellent but render my bot unable to do anything else than being busy listenind Discord Websocket).
Again, your honesty is appreciated, wishing you the best for 2021 ;) Regards, BN
PS : i've discovered that Discord wouldn't let a bot fully use its REST until it has at least once connected through Websocket ... which means i'm finally thinking to use a fork of your SimpleDiscord for that WS authorizational ping. Meaning, even an old unfinished app can have a real final use, after all ;)
When i try to connect SimpleDiscord with my test bot token, i obtain an error saying var is_connected isn't defined, which ends into the bot mislooping connection for ever.
I've solved this by adding this into BetterClient.php right after line 12 : $this->is_connected=true;
But then i have the sprintB() missing error (see other issue i've posted about it to separate).