WhacK - I upgraded my existing sapphire bot to typ...
I upgraded my existing sapphire bot to typescript and altered some things. My commands are not being responded to anymore. I used the cli to make this new version.
Log
Dependencies:
File Structure
.sapphirerc.json
S
Sawako•529d ago
Is
commands
folder no modules
W
WhacK•529d ago
Yeah it says it loads 0 commands
And doesn’t respond
S
Sawako•529d ago
READ again
W
WhacK•529d ago
So it cannot be renamed?
The cli and docs make it seem like you can use a custom location if you set it.
S
Sawako•529d ago
cli is not the framework
and to change that route is a separate concept
about stores
in the framework
S
Sawako•529d ago
W
WhacK•529d ago
ok thank you for your help!
Welcome to the Sapphire Discord server! The next-gen object-oriented Discord.js bot framework can be found here.
2.2KMembers
View on DiscordWant results from more Discord servers?
More PostsArarou - Is this smth fixable? It's never done thi...Is this smth fixable? It's never done this before and I don't know whats causing it.Fractune - Hello, I'd like to know why my `if` jum...Hello, I'd like to know why my `if` jumps straight to `else` while `!isNaN(parseInt(tags.slice(-1)[0Abdo Hosnie - it doesn't play anything (it doesn't play anything : (DelxHQ - Is there anyway I can defer all of my com...Is there anyway I can defer all of my commands?ShirayukiHaruka - **[Sapphire Logging]**Hello! I'...**[Sapphire Logging]**
Hello! I've been using Sapphire for a while now, and wondering if there is a Ben855 - I can't seem to get slash subcommands wor...I can't seem to get slash subcommands working. I'm able to register them just fine but my chatInputRStealth - Any idea what's going on here?Any idea what's going on here?RVX - new to coding here. (very new) how do i un...new to coding here. (very new)
how do i unregister a command?
looks like registering a command an! 𝑱𝒂𝒎𝒆𝒔__ - Hello, I need help with my backup cod...Hello, I need help with my backup code.
The rooms are created correctly but the categories are creatBigBrainAFK - So how does one interact with Forum ...So how does one interact with Forum channels in sapphireSlinky - Hello, I just started using the framework...Hello, I just started using the framework yesterday and currently having a issue trying to reset theHyperfire - How would i ago about adding custom fi...How would i ago about adding custom fields to commands? Like for example aliasespochiko - Hello! does anyone kno whow to fix this ...Hello! does anyone kno whow to fix this problem? ive been trying to figure out why for the past 30 mNitsua - Editing a previously ran slash command re...Editing a previously ran slash command results in an error.
```
Encountered error on chat input comwilluhmjs - ```jsValidationError s.string Exp...```js
ValidationError > s.string
Expected a string primitive
Received:
| undefined
at Stsam - ```srcconfig.ts737 - error TS2345 Argum...```
src/config.ts:7:37 - error TS2345: Argument of type 'string' is not assignable to parameter of tRhys - ^Sort of related to above, does inheritance...^Sort of related to above, does inheritance work with commands?
I've got a few commands for openinThatGuyJamal - Is it possible to make a default va...Is it possible to make a default value for registering command meta data. Like:
```
guildIds: isCanaUser - ```javascriptconst { Client, Events, Gate...```javascript
const { Client, Events, GatewayIntentBits } = require('discord.js');
const client Ben855 - For autocomplete arguments in slash comma...For autocomplete arguments in slash commands, if the user enters something that wasn't available in