typescript: slash command
how do i create a slash command in typescript inside the index file
4 Replies
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.
I was just pointed out this isn't #sapphire-support my bad
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.
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.