Hyper
SIASapphire - Imagine a framework
•Created by Hyper on 2/7/2024 in #sapphire-support
Precondition Command
In a global precondition, is it possible to get the command object for the command the precondition is being run on?
7 replies
SIASapphire - Imagine a framework
•Created by Hyper on 1/6/2024 in #sapphire-support
Any reason as to why this event wouldn't be firing?
17 replies
SIASapphire - Imagine a framework
•Created by Hyper on 7/16/2023 in #sapphire-support
Subcommand issues
I'm having an issue with subcommands where it just doesn't seem to recognize a subcommand.
The following is how I register the command I'm having issues with.
All of them work fine except guild whitelist. That one throws this error: https://hyperfire-dev.sentry.io/share/issue/1464c7085b934a0296005c7e7ee22553/
10 replies
SIASapphire - Imagine a framework
•Created by Hyper on 7/9/2023 in #sapphire-support
Application Data is null
So, I'm trying to get the owners of my application (for a team-members-based precondition for stuff like eval) but this.container.client.application has most of the data as null. It gives me the ID, flags, and that's about it.
Is there anything I need to do to get that to show?
Sorry if this is a stupid question it's been a while since I've worked with discord bots
6 replies
SIASapphire - Imagine a framework
•Created by Hyper on 2/25/2023 in #sapphire-support
Preventing Commands in DMs
How do you prevent commands from being used in DMs? Message commands.
26 replies
SIASapphire - Imagine a framework
•Created by Hyper on 1/9/2023 in #sapphire-support
Issue on upgrade to v4
On loading like any file (listeners and commands) it spits out a TypeError: import_discord2.Permissions is not a constructor error and doesn't load it.
48 replies