A quickstart template for discord bot projects using ortio
├── build // Compiled files go here
├── src
│ ├── commands
│ │ └── ... // Commands go here
│ ├── environment.ts // Environment init
│ ├── client.ts // Discord client config file
│ └── index.ts // Entry file
├── .env // Put API token here
├── .env.test // Put testing variables here
├── .eslintrc.json // ESLint config file
├── .jest.config.js // Jest config file
├── jest.global.js // Jest global script
├── package.json
├── tsconfig.json
└── README.md
Make sure to open .gitignore
and add .env
and .env.test
after adding your tokens
npm run dev
/yarn dev
: Start development environmentnpm run dev:watch
/yarn dev:watch
: Start transcompiler with --watch flag for update on changenpm run dev:start
/yarn dev:start
: Start nodemon on transcompiled filesnpm run test
/yarn test
: Start testing
MIT © Ibrahim Elaradi