50c7a26a58
This is the first pass of ESLint on the codebase. ESLint formatting is less strict when it comes to line-length and line-breaks then dprint/biome, so if you see formatting that you don't like... fix it! It shouldn't require a configuration change. - This should merge clean into master (when the time comes). - This will not merge clean into `3.9.0-DEV`, but the conflicts aren't that bad.
16 lines
590 B
TypeScript
16 lines
590 B
TypeScript
import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest";
|
|
import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile";
|
|
|
|
/**
|
|
* @deprecated As of v3.7.6. Use IChatCommand. Will be removed in v3.9.0.
|
|
*/
|
|
// TODO: v3.9.0 - Remove ICommandoCommand.
|
|
export type ICommandoCommand = IChatCommand;
|
|
export interface IChatCommand
|
|
{
|
|
getCommandPrefix(): string
|
|
getCommandHelp(command: string): string
|
|
getCommands(): Set<string>
|
|
handle(command: string, commandHandler: IUserDialogInfo, sessionId: string, request: ISendMessageRequest): string
|
|
}
|