Eden
Eden
DIAdiscord.js - Imagine an app
Created by Eden on 3/29/2024 in #djs-questions
Am I being rate limited?
I am editng a message in 3 different servers after 5 seconds. Sometimes it takes a long time to update something, and the bot just gives up after an hour. Is this a rate limit, or is it cause of some error in my code? I would go test it out myself by logging the rate limit errors in the listener, but I don't really want to wait an hour
13 replies
DIAdiscord.js - Imagine an app
Created by Eden on 1/22/2024 in #djs-questions
How to update style of a button?
Hi, I'm trying to upgrade from v13 to v14. Given a message object, how can I update the style of a specific button?
26 replies
DIAdiscord.js - Imagine an app
Created by Eden on 1/18/2024 in #djs-questions
Where to import Routes in TS?
When trying to import Routes to be able to update slash commands in typescript:
import { Routes } from 'discord.js'
import { Routes } from 'discord.js'
It tells me that Module '"discord.js"' has no exported member 'Routes'. How do I resolve this? Thank you.
5 replies