Luxbug
Luxbug
DIAdiscord.js - Imagine an app
Created by Luxbug on 5/6/2024 in #djs-questions
How do i set permission override
! was the problem ty for ur help
23 replies
DIAdiscord.js - Imagine an app
Created by Luxbug on 5/6/2024 in #djs-questions
How do i set permission override
sorryu
23 replies
DIAdiscord.js - Imagine an app
Created by Luxbug on 5/6/2024 in #djs-questions
How do i set permission override
wait
23 replies
DIAdiscord.js - Imagine an app
Created by Luxbug on 5/6/2024 in #djs-questions
How do i set permission override
if (!channel.isThread()) continue; channel.permissionOverwrites.edit("", { ViewChannel: false });
23 replies
DIAdiscord.js - Imagine an app
Created by Luxbug on 5/6/2024 in #djs-questions
How do i set permission override
same thing
23 replies
DIAdiscord.js - Imagine an app
Created by Luxbug on 5/6/2024 in #djs-questions
How do i set permission override
Property 'permissionOverwrites' does not exist on type 'NewsChannel | StageChannel | TextChannel | PrivateThreadChannel | PublicThreadChannel<boolean> | VoiceChannel'. Property 'permissionOverwrites' does not exist on type 'PrivateThreadChannel'.
23 replies
DIAdiscord.js - Imagine an app
Created by Luxbug on 5/6/2024 in #djs-questions
How do i set permission override
const guild = await client.guilds.fetch("945412046072209408");

for (const channel of guild.channels.cache.values()) {
if (!channel.isTextBased()) continue;

if (!channel.manageable) continue;

channel.permissionOverwrites.edit("", { ViewChannel: false });
}
const guild = await client.guilds.fetch("945412046072209408");

for (const channel of guild.channels.cache.values()) {
if (!channel.isTextBased()) continue;

if (!channel.manageable) continue;

channel.permissionOverwrites.edit("", { ViewChannel: false });
}
23 replies
DIAdiscord.js - Imagine an app
Created by Luxbug on 5/6/2024 in #djs-questions
How do i set permission override
so its in a loop
23 replies
DIAdiscord.js - Imagine an app
Created by Luxbug on 5/6/2024 in #djs-questions
How do i set permission override
Ok…1 sec
23 replies
DIAdiscord.js - Imagine an app
Created by Luxbug on 5/6/2024 in #djs-questions
How do i set permission override
I tried all channel types idk whats the problem
23 replies
DIAdiscord.js - Imagine an app
Created by Luxbug on 5/6/2024 in #djs-questions
How do i set permission override
So permission override is undefined
23 replies
DIAdiscord.js - Imagine an app
Created by Luxbug on 5/6/2024 in #djs-questions
How do i set permission override
Nah says edit is undefined
23 replies
DIAdiscord.js - Imagine an app
Created by Luxbug on 5/6/2024 in #djs-questions
How do i set permission override
i cant access permissionOverwrites on any channel type
23 replies
DIAdiscord.js - Imagine an app
Created by Luxbug on 5/6/2024 in #djs-questions
How do i set permission override
14.15.2
23 replies