dragonn
DIAdiscord.js - Imagine an app
•Created by dragonn on 9/16/2023 in #djs-questions
Getting this error a lot on my self host PC
i have used traceroute function with apt repository and 8.8.8.8 and it was successfull... i also put cybrary and it tookme there... how to check dns issue more correctly
13 replies
DIAdiscord.js - Imagine an app
•Created by dragonn on 9/16/2023 in #djs-questions
Getting this error a lot on my self host PC
also tell what error it signifies or where should i go to correct it
13 replies
DIAdiscord.js - Imagine an app
•Created by dragonn on 9/16/2023 in #djs-questions
Getting this error a lot on my self host PC
normally it doesnt disconnect even when i lose internet and if i am nit wrong it tries to re-connect before actually shutting itself off...but with this error it jut shuts down randomly and quickly wuth no warning
13 replies
DIAdiscord.js - Imagine an app
•Created by dragonn on 9/16/2023 in #djs-questions
Getting this error a lot on my self host PC
it is hapenning frequently... not really a network issue...but like something is forcefully disconnecting it... for e.g i am working on it using commands and suddenly it shuts diwn...and when i check it is offlie/crashed coz of this error
13 replies
DIAdiscord.js - Imagine an app
•Created by dragonn on 9/14/2023 in #djs-questions
webhooks again
I mean until it gets to production i can't help myself on that... also the thing we re doing is mostly related to hardware and we perform commanding mostly on our isolated environments so it is kinda safe for now... but getting disconnected and loss of data is one thing we re here to mitigate... once put in production we may or may not invest in a dedicated server... coz if this problem persists then it is of no use...
17 replies
DIAdiscord.js - Imagine an app
•Created by dragonn on 9/14/2023 in #djs-questions
webhooks again
U can say I am not allowed to do such a thing atleast on the developmental stages
17 replies
DIAdiscord.js - Imagine an app
•Created by dragonn on 9/14/2023 in #djs-questions
webhooks again
Nah mate.. i understood u previously and now... u do have a point but i am asking a better suggestion... it is quite obvious without monitoring them i cant make sure what events happened behind the scenes.. and not just main if anyone of them or both crashes...the data is lost... i gotcha...
I know the options are limited but thats why my options came... to duplicate their instances or creation...in this case i only have limited availability of solutions
- Choose a good premium vps but it is unphortunately not allowed due to privacy reasons
- increase the hardware resources and upgrading bandwidth a costly solution to a minor problem
Idk if the big bots like mee6 and yag are self hosted... but they must have came through this typa problem and have mitigated it... i also have previously done sql clustering to avoid database failures... it was damn costly.. This problem needs a creative solution..
Tho i am not sure... if u have any advice/suggestion/mad solution in this regard...u r welcomed... otherwise u can close the topic...i understand i am out of options on this one..Thanks for the help tho
17 replies
DIAdiscord.js - Imagine an app
•Created by dragonn on 9/14/2023 in #djs-questions
webhooks again
This thing isn't optional... i have to get around this problem...
Either creating another silent instance of bot on a vps or might be a different bot altogether... idk how big peeps in companies do to avoid such a thing... unexpected internet, database crashes from server-client side can happen but still thank you...i appreciate
17 replies
DIAdiscord.js - Imagine an app
•Created by dragonn on 9/14/2023 in #djs-questions
webhooks again
Well thats not a solution
My error from such unexpected crashes is
Code: UND_ERR CONNECT_TIMEOUT
Which is happening frequently on just one file... others are working good...
Even if i am able to solve it...that is not what i asķed...tho help is always appreciated17 replies
DIAdiscord.js - Imagine an app
•Created by dragonn on 9/14/2023 in #djs-questions
webhooks again
I also want a suggestion on what to do to mitigate this problem... in a case where bot crashes and i am unable to log events that have passed while it happened
17 replies
DIAdiscord.js - Imagine an app
•Created by dragonn on 9/14/2023 in #djs-questions
webhooks again
So basically events are native to discord app while webhooks are only to be fetched by bot and not natively...
17 replies
DIAdiscord.js - Imagine an app
•Created by dragonn on 9/14/2023 in #djs-questions
webhooks again
Question
* using something as reverse webhooks to log events that happened when the bot was offline so i could update the bot... even tho the time has passed the events would be updated and hence will show the results...after it will come online..Is it possible to do such a thing as reverse webhooking the events... similar to kinda running a reverse shell in linux... or should i use get webhook method to retrieve the lost info... also is it possible to get deleted messages that happened while the bot was sleeping or crashed for mod logs
17 replies
DIAdiscord.js - Imagine an app
•Created by dragonn on 9/11/2023 in #djs-questions
Webhooks
Thank you very much gentleman and gentle lady for the help
37 replies
DIAdiscord.js - Imagine an app
•Created by dragonn on 9/11/2023 in #djs-questions
Webhooks
Oh i see... now i understand.. so summary of this conversation is that webhooks can only send messages to discord channels out of anywhere...without using the bot...by anyone..
But in order to fetch commands or embeds from channels to post outside...i must use bot and hence the api!
37 replies
DIAdiscord.js - Imagine an app
•Created by dragonn on 9/11/2023 in #djs-questions
Webhooks
So i can use webhooks out of discord to post messages to my website as well...
37 replies
DIAdiscord.js - Imagine an app
•Created by dragonn on 9/11/2023 in #djs-questions
Webhooks
If i want to use the feature to post the embed to channels and on my webapp both... should i use bot to do that or is there any other way to achieve that...
I had seen a server where they used to send embeds on channels and on their website...idk if they did it automatically or manually
37 replies
DIAdiscord.js - Imagine an app
•Created by dragonn on 9/11/2023 in #djs-questions
Webhooks
Ok last question
37 replies
DIAdiscord.js - Imagine an app
•Created by dragonn on 9/11/2023 in #djs-questions
Webhooks
Can I use discord webhooks out of discord...like either sending to my own webapp or saving it in file
37 replies
DIAdiscord.js - Imagine an app
•Created by dragonn on 9/11/2023 in #djs-questions
Webhooks
If i can do that.... it also means i can reuse multiple webhooks to send in as many channels i like?
37 replies
DIAdiscord.js - Imagine an app
•Created by dragonn on 9/11/2023 in #djs-questions
Webhooks
Thank you i will look into it too...but lets continue with the explanation
37 replies