sapphire-support
discordjs-support
old-sapphire-support
old-discordjs-support
old-application-commands-and-interactions
No subcommand was matched with the provided command.
Coommands are not registered
Using slash options as text args
Is it possible to style the page returned through routes?
Timezone option for Scheduled Tasks
pattern
option
Furthermore, the plugin is mostly just a tiny wrapper around https://bullmq.io.
Bullmq passes that timezone, along with the pattern, to https://github.com/harrisiirak/cron-parser which actually handles it.
I find it a bit weird that you're asking about UTC+2 because according to https://www.timeanddate.com/worldclock/ukraine the proper timezone is UTC+3 (regardless in fact of whether this is the occupied area or not, but fuck russia, freedom for πΊπ¦ and all that)
...IntelliSense autocomplete not showing up exclusively for Sapphire classes?
Command
class, as well as other classes like Listener
, IntelliSense autocomplete seems not to work in the class definition? Originally, when pressing CTRL + SPACE
should show the extended class methods & properties, but it doesn't seems to do so.Issues with sending messages.
followUp
or editReply
reaction messages as well as send anything to a logging webhook I have setup. For example I'm current using the ping slash command example that is on the GitHub. It only sends the Ping?
and is unable to edit the message after that.
Not really sure how to explain this but if anyone would be willing to help me track down this issue it would be greatfull....Folders not initialized when building with Typescript
tsconfig
or node config but I tried making Listeners/Commands with Sapphire but after building with npx tsc
and running it with node or bun the only thing that is recognized and initialized is the main index.js
file (even tough tsc transpiled every files in the project dir correctly).
The bot is logging in correctly and is working normally if I write it in common esm, transpiled esm or ts but when using ts with bun build or tsc with node it doesn't initialize my sub folders classes (the listeners and commands). ...Slash Command not showing
Attachment drop box
Is there any ways to allow another bot to run my bot command
Is there a way to make slash commands hidden for people with lower perms?
setDefaultMemberPermissions
method, otherwise the defaultMemberPermissions
propertyhelp with options
!command "this is the first arg" "this is the second arg"
That said, the UX of this is far far far far far better when using slash commands...Error [EMPTY_MODULE]: A compatible class export was not found.
Extra
: and inside you will have the index.js
file (which will have the listener ready )and will have another file that will have "channels.js
" where you will publish the function and a "functions.js
" that will be in charge of making some canvas images.
...How to reset the command cooldown in JS
this.container.stores.get('preconditions').get('Cooldown').buckets.delete(this);
this.container.stores.get('preconditions').get('Cooldown').buckets.delete(this);
Logic question
presenceUpdate require member cache?
listener not loading.
Precondition not throwing errors.
Equivalent of z.function from zod in shapeshift?
.run(data: unknown): Result
: https://github.com/sapphiredev/shapeshift/#rundata-unknown-resultt-error-given-a-validation-you-can-call-this-method-to-check-whether-or-not-the which returns a Result
on which you can call .isOk()
/ isErr()
/ .unwrap()
...