typescript: slash command

how do i create a slash command in typescript inside the index file
4 Replies
Favna
Favna2y ago
In the index.ts file? Sapphire doesn't support that. That goes against the structural concept of Sapphire. Please see our guide for how to use Sapphire: https://www.sapphirejs.dev
Sapphire Framework
Home | Sapphire
Sapphire is a next-gen Discord bot framework for developers of all skill levels to make the best JavaScript/TypeScript based bots possible.
Favna
Favna2y ago
I was just pointed out this isn't #sapphire-support my bad
Favna
Favna2y ago
You should follow the discordjs guide. For example https://discordjs.guide/creating-your-bot/slash-commands.html
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
Living Water
Living Water2y ago
I ended up figuring it out, but, respectfully, the discordjs guide is extraordinarily vague; but thank you for sending me it. I'm trying to create a ModMail bot in TypeScript but have no idea how.
Want results from more Discord servers?
Add your server