mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 09:50:43 -05:00
* Use ICommandoCommand interface to register a new command for Commando! Our new and shiny chat bot that takes care of all your commanding needs * Use IDialogueChatBot to register you new chatty friend bot! * If you are feeling lazy, you can also use the ISptCommand and register a command that will use "spt" prefix * spt give command has been added! Feeling like cheating today? hehe use "spt give tplId quantity" and get a new shiny item on your inbox! Co-authored-by: clodan <clodan@clodan.com> Reviewed-on: SPT-AKI/Server#179 Co-authored-by: Alex <clodan@noreply.dev.sp-tarkov.com> Co-committed-by: Alex <clodan@noreply.dev.sp-tarkov.com>
9 lines
311 B
TypeScript
9 lines
311 B
TypeScript
import { ISendMessageRequest } from "@spt-aki/models/eft/dialog/ISendMessageRequest";
|
|
import { IUserDialogInfo } from "@spt-aki/models/eft/profile/IAkiProfile";
|
|
|
|
export interface IDialogueChatBot
|
|
{
|
|
getChatBot(): IUserDialogInfo;
|
|
handleMessage(sessionId: string, request: ISendMessageRequest): string;
|
|
}
|