export class RollChatResult { constructor(rollType) { this.rollType = rollType } async display(rollData) { const template = this.rollType.chatResultTemplate() const chatContent = await renderTemplate(template, rollData) ChatMessage.create({ whisper: ChatUtility.getOwners(this), content: chatContent }) } }