Axe
DIAdiscord.js - Imagine a bot
•Created by Axe on 9/18/2024 in #djs-questions
I have 3 replicas that all respond to the same thing
Yo! I have a bot that sends a message when a thread is created, but Im running 3 replicas, so the problem is that they all send the messge at the same time. I tried to resolve this by just checking if the last message was by the bot, but since they all check at once its false for all of them, and all of them end up sending. Any idea how I can resolve this without creating a database / api or creating extra overhead beyond the function itself?
59 replies
DIAdiscord.js - Imagine a bot
•Created by Axe on 9/4/2024 in #djs-questions
Issue catching unreact event after bot has restarted
When I react to a message then restart the bot then unreact it doesnt catch the unreaction event.
Function: https://codeshare.io/pAe73x
if I log
reactionText
it logs my reaction successfully after the restart. If I then wait for
12 replies