Skip to content
This repository has been archived by the owner on May 17, 2022. It is now read-only.

Commit

Permalink
Init
Browse files Browse the repository at this point in the history
  • Loading branch information
vKxni committed Nov 2, 2021
1 parent 8c9c366 commit 752743f
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 7 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ node_modules
bot.sqlite
json.sqlite
output
config.json
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
TS Client
JS Code
# Host - (Electra) | Deprecated
- A simple clone of Electra, a Status Tracker for Discord.js

# Versions
- [Python](https://github.com/vKxni/DiscordTracker) Version
- [JavaScript](https://github.com/vKxni/Electra-Bot) Version
- [JavaScript](https://github.com/vKxni/rebrand-electra) Version 2

# Setup
- The quick.db plus module got shutted down, instead use quick.db
- As normal, run `npm install`
4 changes: 4 additions & 0 deletions config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"bot": "",
"prefix": "!"
}
2 changes: 1 addition & 1 deletion src/classes/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Client, ClientOptions, Collection, Guild } from "discord.js"
import { readdirSync } from "fs"
import { brandingColor } from "../consts"
import Command from "./Command"
import quick from "quick.db-plus"
import quick from "quick.db"

type config = { token: string, prefix: string, owners: string[]}

Expand Down
2 changes: 1 addition & 1 deletion src/classes/Command.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Client from "./Client";

export default class Command {
name: string; description: string; owner: boolean; aliases: string[]; client: Client;
name: string; description: string; owner: boolean; cooldown: number; aliases: string[]; client: Client;
constructor({
name,
description = "No description provided",
Expand Down
1 change: 1 addition & 0 deletions src/classes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ import Command from "./Command"
export {
Client,
Command
// Data
}
2 changes: 0 additions & 2 deletions start.js

This file was deleted.

0 comments on commit 752743f

Please sign in to comment.