Lick
Lick
DIAdiscord.js - Imagine an app
Created by Welltag on 7/13/2023 in #djs-questions
banner
@welltag_
let memberFetched = await interaction.guild.members.fetch(target.id);
let url = memberFetched.user.bannerURL();
//use url wherever u need it
let memberFetched = await interaction.guild.members.fetch(target.id);
let url = memberFetched.user.bannerURL();
//use url wherever u need it
if you still need help please send the block of code where this issue is happening
14 replies
DIAdiscord.js - Imagine an app
Created by Lick on 7/14/2023 in #djs-questions
Check If Channel Permission is null
oh thought the bot would give u karma
17 replies
DIAdiscord.js - Imagine an app
Created by Lick on 7/14/2023 in #djs-questions
Check If Channel Permission is null
thanks @specialsauce
17 replies
DIAdiscord.js - Imagine an app
Created by Lick on 7/14/2023 in #djs-questions
Check If Channel Permission is null
anyways i think im all good i appreciate you ❤️
17 replies
DIAdiscord.js - Imagine an app
Created by Lick on 7/14/2023 in #djs-questions
Check If Channel Permission is null
because before i had if (permission.allow.has(PermissionsBitField.Flags.Connect, false) == false) which was being evaluated as true for nuetral
17 replies
DIAdiscord.js - Imagine an app
Created by Lick on 7/14/2023 in #djs-questions
Check If Channel Permission is null
was just having trouble figuring out if neutral
17 replies
DIAdiscord.js - Imagine an app
Created by Lick on 7/14/2023 in #djs-questions
Check If Channel Permission is null
i have other conditions in place to ensure its a user, and im looping thru all permission overrides
17 replies
DIAdiscord.js - Imagine an app
Created by Lick on 7/14/2023 in #djs-questions
Check If Channel Permission is null
this seems to return true when neutral and false if either allow or deny is set
17 replies
DIAdiscord.js - Imagine an app
Created by Lick on 7/14/2023 in #djs-questions
Check If Channel Permission is null
permission.allow.has(PermissionsBitField.Flags.Connect, false) == false && permission.deny.has(PermissionsBitField.Flags.Connect, false) == false
permission.allow.has(PermissionsBitField.Flags.Connect, false) == false && permission.deny.has(PermissionsBitField.Flags.Connect, false) == false
17 replies
DIAdiscord.js - Imagine an app
Created by Lick on 7/14/2023 in #djs-questions
Check If Channel Permission is null
i think i may have figured it out
17 replies
DIAdiscord.js - Imagine an app
Created by Lick on 7/14/2023 in #djs-questions
Check If Channel Permission is null
17 replies
DIAdiscord.js - Imagine an app
Created by Welltag on 7/13/2023 in #djs-questions
banner
✔️ do user.bannerURL() dont do user.bannerURL
14 replies
DIAdiscord.js - Imagine an app
Created by Welltag on 7/13/2023 in #djs-questions
banner
bannerUrl is a method (function) so make sure you include ()
14 replies
DIAdiscord.js - Imagine an app
Created by Lick on 7/14/2023 in #djs-questions
Check If Channel Permission is null
so basically something like this but detect if the permission is specifically the grey slash if (permission.allow.has(PermissionsBitField.Flags.Connect) == false) this code snippet return true when grey slash is selected
17 replies