Visual Studio Code
Visual Studio Code
Explore posts from servers
SIASapphire - Imagine a framework
Created by Visual Studio Code on 2/13/2024 in #sapphire-support
Using Paths w/ TypeScript
Turns out that compiling it then running it with tsx works perfectly fine
"main": "dist/index.js",
"type": "module",
"scripts": {
"compile": "tsc && tsx .",
"dev": "tsc-watch --onSuccess \"tsx .\""
},
"main": "dist/index.js",
"type": "module",
"scripts": {
"compile": "tsc && tsx .",
"dev": "tsc-watch --onSuccess \"tsx .\""
},
6 replies
SIASapphire - Imagine a framework
Created by Visual Studio Code on 2/13/2024 in #sapphire-support
Using Paths w/ TypeScript
Ah actually I found a fix lol
6 replies
SIASapphire - Imagine a framework
Created by Visual Studio Code on 2/13/2024 in #sapphire-support
Using Paths w/ TypeScript
My explanation seems to be quite vague, so please ask any questions
6 replies
SIASapphire - Imagine a framework
Created by Visual Studio Code on 12/12/2023 in #discordjs-support
Editing an ephemeral reply from an interaction handler
ABSOLUTE LIFE SAVER
9 replies
SIASapphire - Imagine a framework
Created by Visual Studio Code on 12/12/2023 in #discordjs-support
Editing an ephemeral reply from an interaction handler
I've tried fetching it by the fetched reply's ID which works, although then you can't update/edit the ephemeral message
9 replies
SIASapphire - Imagine a framework
Created by Visual Studio Code on 12/12/2023 in #discordjs-support
Editing an ephemeral reply from an interaction handler
The main question I'm asking is how to edit an ephemeral message from another file
9 replies
SIASapphire - Imagine a framework
Created by Visual Studio Code on 12/12/2023 in #discordjs-support
Editing an ephemeral reply from an interaction handler
what
9 replies
SIASapphire - Imagine a framework
Created by Visual Studio Code on 11/8/2023 in #discordjs-support
Making multi-line embed descriptions cleaner
tyyyy
7 replies
SIASapphire - Imagine a framework
Created by Visual Studio Code on 10/7/2023 in #sapphire-support
Specifying Types
As you can see it's specifying the type (or whatever it's called) to any, although I was wondering if I can mark it as a TextChannel as that's what it is?
5 replies