Mark
Mark
DIAdiscord.js - Imagine an app
Created by Unicorn. on 1/21/2025 in #djs-questions
Role cache get undefined
if it's for a channel you're creating, yes, you can pass all of the desired overwrites during the create request
31 replies
DIAdiscord.js - Imagine an app
Created by Unicorn. on 1/21/2025 in #djs-questions
Role cache get undefined
you should also do one api request to modify the channel's permission overwrites for all desired roles/users at once, instead of multiple api requests (which might also have unintended results due to race conditions)
31 replies
DIAdiscord.js - Imagine an app
Created by Unicorn. on 1/21/2025 in #djs-questions
Role cache get undefined
snowflakes are larger than the max safe int in js, so they end up getting rounded if you convert them to a number. don't do that
31 replies
DIAdiscord.js - Imagine an app
Created by Unicorn. on 1/21/2025 in #djs-questions
Role cache get undefined
those are numbers, not strings. snowflakes are strings
31 replies
DIAdiscord.js - Imagine an app
Created by Chase on 1/21/2025 in #djs-questions
Latency off drastically
You're comparing the system time to the discord server time, shouldn't be surprised to have differences
4 replies
DIAdiscord.js - Imagine an app
Created by vezziee on 1/16/2025 in #djs-questions
how to get this gray border thing around the dates
use backticks `
7 replies
DIAdiscord.js - Imagine an app
Created by Bot Father on 1/16/2025 in #djs-questions
Deno vs Bun vs Node
This is an opinion and you could get many different answers, and most of it isn't related to d.js (if any of it is). You might want to ask in a general programming server for opinions d.js was designed for node, but it does have compatibility with bun and deno (if they don't break things)
6 replies
DIAdiscord.js - Imagine an app
Created by JAMPERR7 on 1/9/2025 in #djs-questions
Events that execute activities
that's nothing that's to do with d.js
8 replies
DIAdiscord.js - Imagine an app
Created by JAMPERR7 on 1/9/2025 in #djs-questions
Events that execute activities
i'm fairly certain the api doesn't have any information about the activities
8 replies
DIAdiscord.js - Imagine an app
Created by NP on 1/5/2025 in #djs-questions
Shards and presence
Not in d.js, as it's implemented via other packages. Check out node-cron iirc
5 replies
DIAdiscord.js - Imagine an app
Created by NP on 1/5/2025 in #djs-questions
Shards and presence
Use a cron job
5 replies
DIAdiscord.js - Imagine an app
Created by wacuus on 1/4/2025 in #djs-questions
My embed doenst work #embeds
We do not offer support for older versions, including v12
15 replies
DIAdiscord.js - Imagine an app
Created by wacuus on 1/4/2025 in #djs-questions
My embed doenst work #embeds
Please update to v14
15 replies
DIAdiscord.js - Imagine an app
Created by wacuus on 1/4/2025 in #djs-questions
My embed doenst work #embeds
What happens when you try to send an embed? Do you get an error in the terminal?
15 replies
DIAdiscord.js - Imagine an app
Created by kwiee on 1/3/2025 in #djs-questions
slash commands not showing up
does the command show up
23 replies
DIAdiscord.js - Imagine an app
Created by kwiee on 1/3/2025 in #djs-questions
slash commands not showing up
in your guild settings
23 replies
DIAdiscord.js - Imagine an app
Created by kwiee on 1/3/2025 in #djs-questions
slash commands not showing up
did you reload your client? did you check the guild -> integrations tab?
23 replies
DIAdiscord.js - Imagine an app
Created by gummi on 1/2/2025 in #djs-questions
how do i fix this error which i have no idea of the why its here?
Require setTimeout from there and then define a wait variable as it
25 replies
DIAdiscord.js - Imagine an app
Created by gummi on 1/2/2025 in #djs-questions
how do i fix this error which i have no idea of the why its here?
In the future, please show the full error including stack, not just the message
25 replies
DIAdiscord.js - Imagine an app
Created by gummi on 1/2/2025 in #djs-questions
how do i fix this error which i have no idea of the why its here?
You can't delete a message more than once
25 replies