Skip to content

Commit

Permalink
feat(Command): edited options option
Browse files Browse the repository at this point in the history
  • Loading branch information
SebestikCZ authored May 1, 2022
1 parent 830839a commit 2b0e431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/structures/Command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export class Command {
this.run = options.run || Command.defaults?.run;
this.onError = options.onError || Command.defaults?.onError;
this.autoDefer = options.autoDefer || Command.defaults?.autoDefer;
this.options = this;
this.options = options;

Commands.register(this);
})
Expand Down

0 comments on commit 2b0e431

Please sign in to comment.