Songbird
SIASapphire - Imagine a framework
•Created by Songbird on 5/10/2024 in #sapphire-support
BulkOverwrite has stopped functioning
65 replies
SIASapphire - Imagine a framework
•Created by Songbird on 1/9/2024 in #sapphire-support
Proper way to setup ESLint
what's the proper way to setup ESLint? I'm attempting to look at the github repo for gemboard and I am unable to figure it out by looking at the configs.
24 replies
SIASapphire - Imagine a framework
•Created by Songbird on 1/8/2024 in #sapphire-support
How to push incomplete .env file to repo?
https://github.com/sapphiredev/gemboard/blob/main/src/.env -> Wondering how this environment file is easily pushed with the token removed (i assume) automatically. Is there a hook/gitignore to setup to automatically remove specific tokens from the environment file or is there a separate .env.local file that is excluded from the repo?
5 replies
SIASapphire - Imagine a framework
•Created by Songbird on 1/1/2024 in #sapphire-support
Docker volume issue
Hi, trying to run my bot inside of a docker container on my server (exposing the workdir to the host for changes).
Yes, these files are stolen from the official repos.
Current bind shows no files on the host and the attached error when trying to run the container. If I run the container without any mount points then it runs fine.
35 replies
SIASapphire - Imagine a framework
•Created by Songbird on 12/30/2023 in #sapphire-support
Get message text from ContextMenuCommandInteraction
Another noob question, sorry!
Pretty much title. I have tried parsing the JSON object and using fetchReply() but I believe that is for the reply generated by the bot.
13 replies
SIASapphire - Imagine a framework
•Created by Songbird on 12/30/2023 in #sapphire-support
How 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 tried creating a listener for adding reactions but I am unsure if this is the proper syntax.
sapphire generate listener
generates a listener different than the default MentionPrefixOnly listener. I have tried scouring the documentation but I cannnot find anything relating to the arguments of run().
Thank you!10 replies
SIASapphire - Imagine a framework
•Created by Songbird on 12/27/2023 in #sapphire-support
Template project (Issues setting up from scratch)
is there a skeleton sapphire project somewhere? I am having issues setting up even this https://www.sapphirejs.dev/docs/Guide/getting-started/getting-started-with-sapphire with typescript. something about
node:31148) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension
. and TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for D:\Documents\Git Projects\Lyra-Bot\src\index.ts
when switching the index.js
extension to .ts
. I am using node 20.10.0.
thank you!15 replies