Inky
Inky
DIAdiscord.js - Imagine an app
Created by zr8x on 4/19/2025 in #djs-questions
Discord away message
No
6 replies
DIAdiscord.js - Imagine an app
Created by zr8x on 4/19/2025 in #djs-questions
Discord away message
Bots can reply to their own dms i guess
6 replies
DIAdiscord.js - Imagine an app
Created by materwelon on 4/12/2025 in #djs-questions
Issue while creating a category with permission overrides
Use PermissionsBitField to read off the permissions, not BitField. Huge blunder by me
75 replies
DIAdiscord.js - Imagine an app
Created by NovaKevin on 4/6/2025 in #djs-questions
Possible to tell if command ran on mobile vs. desktop?
Even then, presence can manipulated per-device
5 replies
DIAdiscord.js - Imagine an app
Created by NovaKevin on 4/6/2025 in #djs-questions
Possible to tell if command ran on mobile vs. desktop?
No
5 replies
DIAdiscord.js - Imagine an app
Created by Duckie on 3/28/2025 in #djs-questions
how to i listen for dm messages
Did you import Partials?
10 replies
DIAdiscord.js - Imagine an app
Created by Duckie on 3/28/2025 in #djs-questions
how to i listen for dm messages
Do you also have the channel partial?
10 replies
DIAdiscord.js - Imagine an app
Created by undefined on 3/25/2025 in #djs-questions
PermissionOverwrites Why did this stop working?
Prob just make a utility function
66 replies
DIAdiscord.js - Imagine an app
Created by undefined on 3/25/2025 in #djs-questions
PermissionOverwrites Why did this stop working?
Then you just add the all flags at the beginning of the array
66 replies
DIAdiscord.js - Imagine an app
Created by undefined on 3/25/2025 in #djs-questions
PermissionOverwrites Why did this stop working?
Assignment still is incorrect tho. deny should be set to false
66 replies
DIAdiscord.js - Imagine an app
Created by undefined on 3/25/2025 in #djs-questions
PermissionOverwrites Why did this stop working?
Oh, I see
66 replies
DIAdiscord.js - Imagine an app
Created by undefined on 3/25/2025 in #djs-questions
PermissionOverwrites Why did this stop working?
Also if ur gonna do that, just throw the array into Object.from entries
66 replies
DIAdiscord.js - Imagine an app
Created by undefined on 3/25/2025 in #djs-questions
PermissionOverwrites Why did this stop working?
The assignment isn’t correct in the forEach
66 replies
DIAdiscord.js - Imagine an app
Created by undefined on 3/25/2025 in #djs-questions
PermissionOverwrites Why did this stop working?
Could do some micro optimizations to do a single loop
66 replies
DIAdiscord.js - Imagine an app
Created by undefined on 3/25/2025 in #djs-questions
PermissionOverwrites Why did this stop working?
const allowBf = new PermissionsBitField(BigInt(allow));
const denyBf = new PermissionsBitField(BigInt(deny));

const perms = {};
Object.keys(PermissionsBitField.Flags).forEach(p => (perms[p] = null));
allowBf.toArray().map(p => (perms[p] = true));
denyBf.toArray().map(p => (perms[p] = true));

return perms;
const allowBf = new PermissionsBitField(BigInt(allow));
const denyBf = new PermissionsBitField(BigInt(deny));

const perms = {};
Object.keys(PermissionsBitField.Flags).forEach(p => (perms[p] = null));
allowBf.toArray().map(p => (perms[p] = true));
denyBf.toArray().map(p => (perms[p] = true));

return perms;
66 replies
DIAdiscord.js - Imagine an app
Created by undefined on 3/25/2025 in #djs-questions
PermissionOverwrites Why did this stop working?
I rly don’t think it’s that hard to convert to an perm overwrite option object
66 replies
DIAdiscord.js - Imagine an app
Created by undefined on 3/25/2025 in #djs-questions
PermissionOverwrites Why did this stop working?
Good luck
66 replies
DIAdiscord.js - Imagine an app
Created by undefined on 3/25/2025 in #djs-questions
PermissionOverwrites Why did this stop working?
Or is that the wrong way
66 replies
DIAdiscord.js - Imagine an app
Created by undefined on 3/25/2025 in #djs-questions
PermissionOverwrites Why did this stop working?
Oh, PermissionOverwrites.resolve alr exists
66 replies
DIAdiscord.js - Imagine an app
Created by undefined on 3/25/2025 in #djs-questions
PermissionOverwrites Why did this stop working?
Gl keeping that code working in future updates
66 replies