Bob16077777
Bob16077777
DIAdiscord.js - Imagine an app
Created by Bob16077777 on 12/9/2023 in #djs-questions
Interaction responses very slow on Raspberry Pi
When running a bot on my raspberry pi, all discord.js interaction response methods (.reply(), .deferReply(), etc) run very slowly and cause the interaction to time out. Through seeing when parts of my code are reached, I've narrowed it down to the aforementioned methods--everything runs nearly instantaneously reaching the part where it should actually send a response. Running the code from my PC works perfectly and pinging the discord api from the pi has normal response times, so I don't think it's a local network issue. Has anyone ever had a similar issue/know how to solve it?
10 replies