0.1.2 • Published 4 years ago

genesis-moderation-bot v0.1.2

Weekly downloads
11
License
ISC
Repository
-
Last release
4 years ago

Genesis Moderation Bot

Development Scripts

Install Typescript globally:

npm i typescript -g

Restart the terminal.

Install dependencies:

npm i

Create .env file in project root:

touch .env

Define TOKEN in env

TOKEN='TOKEN_GOES_HERE'
ScriptDescription
npm startStart the bot
npm run tscRun the typescript compiler in watch mode
npm run compileCompiles the bot

Discord Commands

CommandDescription
helpShows the help menu
delad <MessageID> <Reason>Delete an advertisement

Notes

  • Avoid using :any type.
  • Stick to the established code model
  • Prettier config file is included

Design choices when coding

  • Use a tabwidth of 2
  • Avoid semicolons when possible
  • Use single quotes over double quotes when possible
  • Always include a trailing comma
0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago