/discord.js-v14-template

Discord bot template using DiscordJS 14 with a basic ping command and settings that are saved on SQLite3 with TyepORM

Primary LanguageTypeScriptMIT LicenseMIT

Discord.JS V14 Template

This template is using SQLite (with TypeOrm) as database for the bot settings.

Used Packages And Environment

Configuration File

Create .env with the following variables

  BOT_OWNER_IDS=123456,654321
  BOT_TOKEN=botToken

Usage

To run the bot for production

  npm run start:prod

For background production

  npm run pm2

Run for development

  npm run start:dev

License

MIT