Use hbs extension
This commit is contained in:
@ -13,7 +13,7 @@ const words = ['pore', 'pre', 'flor', 'lane', 'turlu', 'pin', 'a', 'alph', 'i',
|
||||
export class RdDNameGen {
|
||||
|
||||
static async proposeName(msg, params) {
|
||||
const html = await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-command-nom.html`, {
|
||||
const html = await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-command-nom.hbs`, {
|
||||
nom: await RdDNameGen.generate()
|
||||
});
|
||||
ChatMessage.create({ content: html, whisper: ChatUtility.getGMs() });
|
||||
|
Reference in New Issue
Block a user