Archived
0
0
Fork 0

Compare commits

..

No commits in common. "v1.1.1" and "v1.1.0" have entirely different histories.

3 changed files with 3 additions and 9 deletions

View file

@ -1,10 +1,3 @@
### [1.1.1](https://code.relms.dev/NeonJS/framework/compare/v1.1.0...v1.1.1) (2021-11-04)
### Bug Fixes
* made logger non-static ([b617aa0](https://code.relms.dev/NeonJS/framework/commit/b617aa00c27149d2f167aaede4128cdf760db3c6))
## [1.1.0](https://code.relms.dev/NeonJS/framework/compare/v1.0.4...v1.1.0) (2021-11-04) ## [1.1.0](https://code.relms.dev/NeonJS/framework/compare/v1.0.4...v1.1.0) (2021-11-04)

View file

@ -1,6 +1,6 @@
{ {
"name": "@neonjs/framework", "name": "@neonjs/framework",
"version": "1.1.1", "version": "1.1.0",
"description": "Discord.JS Slash Commands based framework", "description": "Discord.JS Slash Commands based framework",
"license": "MIT", "license": "MIT",
"main": "dist/index.js", "main": "dist/index.js",

View file

@ -14,9 +14,10 @@ let isBotReady = false;
export class NeonClient extends Client { export class NeonClient extends Client {
public commands: Collection<string, Command> = new Collection(); public commands: Collection<string, Command> = new Collection();
public logger = new Logger();
public ownerID: string; public ownerID: string;
public static logger = new Logger();
public constructor(ownerID: string, options: ClientOptions) { public constructor(ownerID: string, options: ClientOptions) {
super(options); super(options);