Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Latest commit

 

History

History
59 lines (41 loc) · 1.32 KB

README.md

File metadata and controls

59 lines (41 loc) · 1.32 KB

ChiselTime

ChiselTime is an application intended to help with automating message updates to bridge the gap in Discord's timestamps feature which does not allow for things like specifying "5pm Friday" and have it actually point to the specific date and time each week. This is done by creating a message via the bot's slash commands, which is then updated at a configurable interval.

Attributions

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Common commands

# Create database migration file with the provided name
$ npx typeorm migration:create src/server/migrations/MigrationName

# Generate migrations from entities
$ npm run typeorm:generate src/server/migrations/MigrationName

# Run database migrations
$ npm run typeorm:run

# Revert latest migration
$ npm run typeorm:revert