This is a Discord bot using the sapphire framework written in TypeScript
yarn add
This example can be run with tsc-watch
to watch the files and automatically restart your bot.
yarn watch:start
You can also run the bot with yarn dev
, this will first build your code and then run node ./dist/index.js
. But this is not the recommended way to run a bot in production.
Dedicated to the public domain via the Unlicense, courtesy of the Sapphire Community and its contributors.