jack
jack
DIAdiscord.js - Imagine a boo! 👻
Created by Lianecx on 9/27/2022 in #djs-questions
Check for Slash Command Permission
I was hoping at the time it was in some sapphire library, it's not that I can't write it it's that it's annoying to write 🫠
101 replies
DIAdiscord.js - Imagine a boo! 👻
Created by Lianecx on 9/27/2022 in #djs-questions
Check for Slash Command Permission
This makes me worry for when I open it up to look at
101 replies
DIAdiscord.js - Imagine a boo! 👻
Created by Lianecx on 9/27/2022 in #djs-questions
Check for Slash Command Permission
obviously it's meant to do nothing while false trol
101 replies
DIAdiscord.js - Imagine a boo! 👻
Created by Lianecx on 9/27/2022 in #djs-questions
Check for Slash Command Permission
I'll check this out at home, thanks for sharing
101 replies
DIAdiscord.js - Imagine a boo! 👻
Created by Lianecx on 9/27/2022 in #djs-questions
Check for Slash Command Permission
Yeah I may have to have a stab at implementing the user/roles bit of it for my bot. Sorry for bothering you
101 replies
DIAdiscord.js - Imagine a boo! 👻
Created by Lianecx on 9/27/2022 in #djs-questions
Check for Slash Command Permission
@lianecx hey, did you end up making this?
101 replies
DIAdiscord.js - Imagine a boo! 👻
Created by Lianecx on 9/27/2022 in #djs-questions
Check for Slash Command Permission
alr
101 replies
DIAdiscord.js - Imagine a boo! 👻
Created by Lianecx on 9/27/2022 in #djs-questions
Check for Slash Command Permission
ooh please do that'd be greatly appreciated
101 replies
DIAdiscord.js - Imagine a boo! 👻
Created by Lianecx on 9/27/2022 in #djs-questions
Check for Slash Command Permission
still a lot of work 😵‍💫
101 replies
DIAdiscord.js - Imagine a boo! 👻
Created by Lianecx on 9/27/2022 in #djs-questions
Check for Slash Command Permission
Yeah i saw the flowchart
101 replies
DIAdiscord.js - Imagine a boo! 👻
Created by Lianecx on 9/27/2022 in #djs-questions
Check for Slash Command Permission
@lianecx did you use this in anything? I think I need to use something like this too
101 replies
SIASapphire - Imagine a framework
Created by jack on 1/15/2023 in #sapphire-support
Is there any utility to check if a member has permission to run a command?
I just need a function to check if a user can run a command based on the guild overrides
18 replies
SIASapphire - Imagine a framework
Created by jack on 1/15/2023 in #sapphire-support
Is there any utility to check if a member has permission to run a command?
I'd probably use it in a member update as the user's ability to use a command would change based on roles
18 replies
SIASapphire - Imagine a framework
Created by jack on 1/15/2023 in #sapphire-support
Is there any utility to check if a member has permission to run a command?
I know there isn't a event unfortunately
18 replies
SIASapphire - Imagine a framework
Created by jack on 1/15/2023 in #sapphire-support
Is there any utility to check if a member has permission to run a command?
I basically need to check if a member can run a command outside of the command itself, instead in a listener
18 replies
SIASapphire - Imagine a framework
Created by jack on 1/15/2023 in #sapphire-support
Is there any utility to check if a member has permission to run a command?
I think I need https://discord.js.org/#/docs/discord.js/main/class/ApplicationCommandPermissionsManager?scrollTo=has but instead of it checking a single permission id, it'd iterate through and calculate whether the user has the ability to run a command
18 replies
SIASapphire - Imagine a framework
Created by jack on 1/15/2023 in #sapphire-support
Is there any utility to check if a member has permission to run a command?
The command in question gives the user a role, I need to know if the user loses access to the command to then remove the role accordingly
18 replies
SIASapphire - Imagine a framework
Created by jack on 1/15/2023 in #sapphire-support
Is there any utility to check if a member has permission to run a command?
it's a little confusing
18 replies