anyone know how to make bot seem without a status (not online but not offline)
like for @Iriss
Solution:
By not using libraries like discord.js, you'd use a HTTP server instead of connecting to a websocket. @Iriss uses
@skyra/http-framework
, but discord-interactions
is also an option, and the one that's recommended in Discord.jskyra•138d ago
To do that, you have to make the bot not use the gateway, effectively turning it into a HTTP only bot.
./Ticker•136d ago
Hm, how can that be done?
Solution
kyra•136d ago
By not using libraries like discord.js, you'd use a HTTP server instead of connecting to a websocket. @Iriss uses
@skyra/http-framework
, but discord-interactions
is also an option, and the one that's recommended in Discord.js./Ticker•136d ago
I see, I don't think it is worth the trouble 😅
Thanks though
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 PostsDocker volume issueHi, trying to run my bot inside of a docker container on my server (exposing the workdir to the hostChecking for flags in message commandsI'm trying to add a `--silent` flag which if present will make the punishment silent (the user won'tGet message text from ContextMenuCommandInteractionAnother noob question, sorry!
Pretty much title. I have tried parsing the JSON object and using fetHow can I find out what events there are, and what the args are?For example, MentionPrefixOnly has run(message: msg), but what does anything else have? I have triedUnable to get piece's name with CommandStore#get when piece's enabled is falseWhen doing CommandStore#get with a piece that is not enabled, it returns undefined. But when gettingThe precondition "SubcommandCooldown" is not available.Hi, I have cooldowns configured on a subcommand like so, but running the command gives the title errTypeError: Cannot read properties of undefined (reading 'options')im not even sure what i did wrong lmao https://i.proxied.host/u/N7N6gq.png
@ me when replying plsChange select menu options to custom options for paginated messagesHi, how do I change the options to, for example, "test1" & "test2" instead?
I'm using `@sapphire/disIs it possible to set retries for a MessagePrompter (message strat)?Title, and if it is possible, how? I did look through the docs and didn't find a clue.Best way to use Preconditions to determine which commands show up in a /help command?I'm looking to make a dynamic help command that'll show a user all commands available to them, but ISubcommand OrganizationI'm switching back to the sapphire subcommand plugin from kanames since it's not updated and I'm runCreate WebServer with Plugin APIHello !
I read the doc for install a webserver in my bot.
Here my code:
```js
const client = new SaLoaderStrategy: promises.opendir is being broken if using with @vercel/pkg libraryHey There! I'm trying to build the bot into signle executable but there is an issue
When trying to Template project (Issues setting up from scratch)is there a skeleton sapphire project somewhere? I am having issues setting up even this https://www.