souji
souji
DIAdiscord.js - Imagine an app
Created by Pwntester on 7/1/2024 in #djs-questions
How/Where to report security vulnerabilities
i cannot, if you want you can DM me/crawl and we can raise it to the relevant people/teams internally
6 replies
DIAdiscord.js - Imagine an app
Created by Pwntester on 7/1/2024 in #djs-questions
How/Where to report security vulnerabilities
let me see if i can enable that
6 replies
DIAdiscord.js - Imagine an app
Created by awh on 4/20/2024 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'setFooter')
@awh stop being a dick to people and they might be more inclined to help
28 replies
DIAdiscord.js - Imagine an app
Created by Matej on 4/10/2024 in #djs-questions
New discord Poll detection
it's immensely funny to see how people overreact over polls
19 replies
DIAdiscord.js - Imagine an app
Created by Matej on 4/10/2024 in #djs-questions
New discord Poll detection
lol, timeout anyone who makes a poll
19 replies
DIAdiscord.js - Imagine an app
Created by Matej on 4/10/2024 in #djs-questions
New discord Poll detection
that fetch not being associated with the rest instance, so not respecting rate limits is a huge issue
19 replies
DIAdiscord.js - Imagine an app
Created by Matej on 4/10/2024 in #djs-questions
New discord Poll detection
don't need to do that, listen for raw/the dispatch event on client#ws, match the event and make the delete rest call
19 replies
DIAdiscord.js - Imagine an app
Created by Artlfmj on 3/12/2024 in #djs-questions
How many options can I add in a select menu?
5 action rows of width 5, 1 select menu has a width of 5 so 5 select menus not sure where the 3 is coming from
6 replies
DIAdiscord.js - Imagine an app
Created by Nothing-Man on 3/1/2024 in #djs-questions
VoiceChannel members is always 0
in case someone else finds this and wonders why the cache is necessary here: - voice states are received from the initial guild payloads when the bot identifies with the gateway or joins a new server - the cache is updated based on received voice state update events - there is no endpoint to fetch the current members of a voice channel
24 replies
DIAdiscord.js - Imagine an app
Created by x0 on 2/16/2024 in #djs-questions
check if bot can interact with a specific user/role
the issue with roles is that leaving the server will remove them, native timeouts persist
25 replies
DIAdiscord.js - Imagine an app
Created by x0 on 2/16/2024 in #djs-questions
check if bot can interact with a specific user/role
general note: timeouts are almost always better than custom mute role setups
25 replies
DIAdiscord.js - Imagine an app
Created by x0 on 2/16/2024 in #djs-questions
check if bot can interact with a specific user/role
careful with that one, there's computed and raw positions (positions are a bit of a mess in discord)
25 replies
DIAdiscord.js - Imagine an app
Created by x0 on 2/16/2024 in #djs-questions
check if bot can interact with a specific user/role
Role.comparePositonTo(<BotMember>.roles.highest)
25 replies
DIAdiscord.js - Imagine an app
Created by x0 on 2/16/2024 in #djs-questions
check if bot can interact with a specific user/role
looks like Role#manageable is not a thing, weirdly enough
25 replies
DIAdiscord.js - Imagine an app
Created by x0 on 2/16/2024 in #djs-questions
check if bot can interact with a specific user/role
managed should exclude a good bit of that
25 replies
DIAdiscord.js - Imagine an app
Created by x0 on 2/16/2024 in #djs-questions
check if bot can interact with a specific user/role
like banable etc.
25 replies
DIAdiscord.js - Imagine an app
Created by x0 on 2/16/2024 in #djs-questions
check if bot can interact with a specific user/role
depending on what you want to do, there are more specific getters that also include other checks
25 replies
DIAdiscord.js - Imagine an app
Created by x0 on 2/16/2024 in #djs-questions
check if bot can interact with a specific user/role
managed roles are denoted by tags ^ the tags have a different shape depending on if it's a guild connection (twitch, iirc is one), the booster role, or a managed role
25 replies