Skip to main content
The Deno 2 Release Candidate is here
Learn more
class SptDialogueChatBot
implements IDialogueChatBot
import { SptDialogueChatBot } from "https://deno.land/x/sptaki@1.2.0/helpers/Dialogue/mod.ts";

Constructors

new
SptDialogueChatBot(
profileHelper: ProfileHelper,
randomUtil: RandomUtil,
mailSendService: MailSendService,
giftService: GiftService,
configServer: ConfigServer,
)

Properties

protected
configServer: ConfigServer
protected
coreConfig: ICoreConfig
protected
giftService: GiftService
protected
mailSendService: MailSendService
protected
profileHelper: ProfileHelper
protected
randomUtil: RandomUtil
protected
weatherConfig: IWeatherConfig

Methods

handleMessage(sessionId: string, request: ISendMessageRequest): string

Send responses back to player when they communicate with SPT friend on friends list