Skip to content

Commit

Permalink
fix: force messenger command args as string
Browse files Browse the repository at this point in the history
  • Loading branch information
Stuyk committed Jun 24, 2024
1 parent 86b375c commit 201ec88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/server/systems/messenger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export type Command = {
name: string;
desc: string;
options?: CommandOptions;
callback: (player: alt.Player, ...args: any[]) => void | boolean | Promise<void> | Promise<boolean>;
callback: (player: alt.Player, ...args: string[]) => void | boolean | Promise<void> | Promise<boolean>;
};

const tagOrComment = new RegExp(
Expand Down

0 comments on commit 201ec88

Please sign in to comment.