Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Latest commit

 

History

History
37 lines (28 loc) · 996 Bytes

File metadata and controls

37 lines (28 loc) · 996 Bytes

Since discord bot

Simple discord bot for keeping track of dates. Written using the discord.js commando, and sqlite3 libraries.

Default prefix: s.

Installation

Prerequisites: node.js, npm, typescript

  1. Clone the repository
  2. Create a secret.json file in data with the following structure:
{
	"token": "your-bot-token-here",
	"owner": "your-account-id"
}

^ The token value should be copied from the Discord Developer Portal. The owner field is optional and may be left blank - "".

  1. Open the folder in a command shell
# Install dependencies
npm install

# Compile .ts to .js
tsc

# Run node on the "dist" folder
node dist

Localization

Additional translations may be added in the data/localization folder, according to the schema of the files already existing there. To apply, modify localization in data/config.json.