Skip to content

Commit

Permalink
fix(commands): newly created custom commands don't increment count (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
zunderscore committed Mar 7, 2024
1 parent 11a8ace commit 2058480
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/backend/chat/commands/command-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,8 @@ class CommandManager extends EventEmitter {
command.count = 0;
}

command.type = "custom";

const commandDb = this.getCommandsDb();

try {
Expand Down

0 comments on commit 2058480

Please sign in to comment.