Favna
Favna
SIASapphire - Imagine a framework
Created by cody on 7/6/2024 in #sapphire-support
Chat input command IDs
s!ev sapphire.framework.ApplicationCommandRegistries.acquire('whois').globalChatInputCommandIds
7 replies
SIASapphire - Imagine a framework
Created by cody on 7/6/2024 in #sapphire-support
Chat input command IDs
import { ApplicationCommandRegistries } from '@sapphire/framework';

ApplicationCommandRegistries.acquire('commandNameHere').globalChatInputCommandIds
import { ApplicationCommandRegistries } from '@sapphire/framework';

ApplicationCommandRegistries.acquire('commandNameHere').globalChatInputCommandIds
7 replies
SIASapphire - Imagine a framework
Created by cody on 7/4/2024 in #sapphire-support
Interaction create and custom commands
Implement MessageCommandError / ChatInputCommandError etc, similar to https://sapphirejs.dev/docs/Guide/preconditions/reporting-precondition-failure but those different events. Use error.identifier to identify the type of error, then send your own custom message.
19 replies
SIASapphire - Imagine a framework
Created by cody on 7/4/2024 in #sapphire-support
Interaction create and custom commands
Less than a second probably
19 replies
SIASapphire - Imagine a framework
Created by cody on 7/4/2024 in #sapphire-support
Interaction create and custom commands
Far far far from it
19 replies
SIASapphire - Imagine a framework
Created by cody on 7/4/2024 in #sapphire-support
Interaction create and custom commands
And that also won't run in parallel with interactionCreate but shortly after it
19 replies
SIASapphire - Imagine a framework
Created by cody on 7/4/2024 in #sapphire-support
Interaction create and custom commands
Ah no you can't do that through sapphire command classes but you can implement the Events. UnknownChatInputCommand event instead of interactionCreate which will ensure that the interaction is at least a chat input command and not another type of interaction.
19 replies
SIASapphire - Imagine a framework
Created by cody on 7/4/2024 in #sapphire-support
Interaction create and custom commands
it wouldnt, both listeners would run at more-or-less the same time. However why not just use Sapphire's interactionCreate handler and sapphire's commands? From your description I see no reason why you couldnt
19 replies
SIASapphire - Imagine a framework
Created by ./Ticker on 6/14/2024 in #sapphire-support
Coommands are not registered
please ping me if you return to this thread. Unfollowing.
7 replies
SIASapphire - Imagine a framework
Created by cody on 7/3/2024 in #sapphire-support
Errors and their listeners
sounds like some kind of TS config issue. Please make a separate thread and you can also check https://github.com/sapphiredev/examples/tree/main/examples/with-typescript-starter or other bots from
10 replies
SIASapphire - Imagine a framework
Created by cody on 7/3/2024 in #sapphire-support
Errors and their listeners
did you import the /register ?
10 replies
SIASapphire - Imagine a framework
Created by cody on 7/3/2024 in #sapphire-support
Errors and their listeners
Set that to false
10 replies
SIASapphire - Imagine a framework
Created by ./Ticker on 6/14/2024 in #sapphire-support
Coommands are not registered
@./Ticker
7 replies
SIASapphire - Imagine a framework
Created by Marino on 6/29/2024 in #sapphire-support
Only receiving interactions on local machine
sounds like a networking issue... but it could be so many things. Ingress service, firewall, proxy, etc. Very hard to tell from just this info. For starters what is your production host.
3 replies
SIASapphire - Imagine a framework
Created by Bonnia on 7/3/2024 in #sapphire-support
got error idk what’s wrong with my code
Makes sense actually
86 replies
SIASapphire - Imagine a framework
Created by Bonnia on 7/3/2024 in #sapphire-support
got error idk what’s wrong with my code
Oh
86 replies
SIASapphire - Imagine a framework
Created by Bonnia on 7/3/2024 in #sapphire-support
got error idk what’s wrong with my code
Everyone can do that btw
86 replies
SIASapphire - Imagine a framework
Created by simnJS on 7/2/2024 in #sapphire-support
Terminal Crash
No idea either but like I said not related to sapphire. I would assume that if you use tsc-watch in another project the problem exists there too
15 replies
SIASapphire - Imagine a framework
Created by simnJS on 7/2/2024 in #sapphire-support
Terminal Crash
Kyra did some investigating in the background and it turns out that windows is misleading and despite the path saying v1.0 the actual version was 5.1. That said, that's still old deprecated powershell as opposed to modern v7.
15 replies