Yinoguns
Yinoguns
DIAdiscord.js - Imagine a bot
Created by EASY TITLE on 6/27/2024 in #djs-questions
Unknown Interaction
@KHUZUMI Based on a scroll of the comments your issue stems from odd code approaches, which is not a DJS issue. I wouldn't hold your breath on assistance beyond what has already been said above.
60 replies
DIAdiscord.js - Imagine a bot
Created by Yinoguns on 4/29/2024 in #djs-questions
Bot Randomly Shutdown without Logs
Ping the bot user, like with the raw API? Humm, i could fetch its status with thst and that could alert me 🤔
8 replies
DIAdiscord.js - Imagine a bot
Created by Yinoguns on 4/29/2024 in #djs-questions
Bot Randomly Shutdown without Logs
The bot went offline not through a presence change, can I check for that in any way, or due to a "hang" would that be impossible?
8 replies
DIAdiscord.js - Imagine a bot
Created by Yinoguns on 4/29/2024 in #djs-questions
Bot Randomly Shutdown without Logs
ah, that sucks, but understandable, I'll do that. In that situation, would any props of Client change such as the ready state or the like, could I have the NodeJS process routinely check the status of the client and push myself a notification if something is "off"?
8 replies
DIAdiscord.js - Imagine a bot
Created by Yinoguns on 4/29/2024 in #djs-questions
Bot Randomly Shutdown without Logs
I suspect this is something I won't see again for an age, but I'd like to put something in to alert me to it next time
8 replies
DIAdiscord.js - Imagine a bot
Created by Yinoguns on 4/29/2024 in #djs-questions
Bot Randomly Shutdown without Logs
Yea probably something I aught to do. But would that cause a total lack of any logs at all or even downtime for the server deployment? Normally if it crashes I get an error and logs associated to the server rebooting. I have none.
8 replies
DIAdiscord.js - Imagine a bot
Created by Yinoguns on 4/29/2024 in #djs-questions
Bot Randomly Shutdown without Logs
DJS v14.8.0 Node v16.20.2
8 replies
DIAdiscord.js - Imagine a bot
Created by Carved on 4/20/2024 in #djs-questions
Canvas
What is line 69 of index?
5 replies
DIAdiscord.js - Imagine a bot
Created by Carved on 4/20/2024 in #djs-questions
Canvas
Error doesn't seem to be from Canvas. Just google the error
5 replies
DIAdiscord.js - Imagine a bot
Created by f1fty on 4/17/2024 in #djs-questions
Fetch messages after a message with including initialMessage
jiralite opened this btw, so you can probs ping em when happy
9 replies
DIAdiscord.js - Imagine a bot
Created by f1fty on 4/17/2024 in #djs-questions
Fetch messages after a message with including initialMessage
NP
9 replies
DIAdiscord.js - Imagine a bot
Created by f1fty on 4/17/2024 in #djs-questions
Fetch messages after a message with including initialMessage
You could use the timestamp of the found message and then filter to those that came after; that'd save you the second fetch, no?
9 replies
DIAdiscord.js - Imagine a bot
Created by f1fty on 4/17/2024 in #djs-questions
Fetch messages after a message with including initialMessage
re-opened
9 replies
DIAdiscord.js - Imagine a bot
Created by Yinoguns on 12/20/2022 in #djs-questions
Infinite Rate Limit & Global(...) ?
No description
50 replies
DIAdiscord.js - Imagine a bot
Created by Yinoguns on 12/20/2022 in #djs-questions
Infinite Rate Limit & Global(...) ?
Happened again todsy 😐
50 replies
DIAdiscord.js - Imagine a bot
Created by ekansh on 12/31/2023 in #djs-questions
VPS turns off after discord bot didnt get permissions to send messages in a server.
So instead of catching all errors, try and avoid them. Check if the Bot has perms, don't just catch if it doesn't
8 replies
DIAdiscord.js - Imagine a bot
Created by ekansh on 12/31/2023 in #djs-questions
VPS turns off after discord bot didnt get permissions to send messages in a server.
It might be possible with some form of global listener...but even if it is, it'd be my recommendation to defensivly code and account for the perms being missing. If you ignore all errors through a global catcher, you'll end up not knowing when things stop working.
8 replies
DIAdiscord.js - Imagine a bot
Created by ekansh on 12/31/2023 in #djs-questions
VPS turns off after discord bot didnt get permissions to send messages in a server.
You can also check the permissions Member (including the bot) has for a channel to try and avoid this happening, and alert yourself in other ways; such as if you start sending messages to servers.
8 replies
DIAdiscord.js - Imagine a bot
Created by Meridian on 3/7/2023 in #djs-questions
Is there any disadvantage when registering global commands on bot startup?
You won't but it's not good practice. I would advise at minimun have a seperate process that re-registers all your commands and run that when you make changes to them. The perfect implementation is to create/edit/delete per-command, but doing a full "set" to rest only when you make changes, is a good middle ground in my eyes.
5 replies