Skip to main content
The Deno 2 Release Candidate is here
Learn more
method PmcChatResponseService.prototype.chooseMessage
import { PmcChatResponseService } from "https://deno.land/x/sptaki@1.2.0/services/PmcChatResponseService.d.ts";

Choose a localised message to send the player (different if sender was killed or killed player)

Parameters

isVictim: boolean

Is the message coming from a bot killed by the player

pmcData: IPmcData

Player profile

Returns

string

Message from PMC to player