Update internal system with dynamic message
This commit is contained in:
@@ -77,6 +77,7 @@ function welcomeMessage() {
|
|||||||
fetch(ECRYME_WELCOME_MESSAGE_URL)
|
fetch(ECRYME_WELCOME_MESSAGE_URL)
|
||||||
.then(response => response.text())
|
.then(response => response.text())
|
||||||
.then(html => {
|
.then(html => {
|
||||||
|
console.log("Fetched welcome message:", html);
|
||||||
ChatMessage.create({
|
ChatMessage.create({
|
||||||
user: game.user.id,
|
user: game.user.id,
|
||||||
whisper: [game.user.id],
|
whisper: [game.user.id],
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
<div>
|
<div>
|
||||||
👋 Juste un petit message pour vous informer que :
|
👋 Juste un petit message pour vous informer que :
|
||||||
|
<br />
|
||||||
<strong
|
<strong
|
||||||
>⚠️ Le nouveau financement participatif pour la prochaine extension
|
>⚠️ Le nouveau financement participatif pour la prochaine extension
|
||||||
d'Écryme, LES SECRETS DE L'ÉCRYME ouvre le 21 octobre !</strong
|
d'Écryme, LES SECRETS DE L'ÉCRYME ouvre le 21 octobre !</strong
|
||||||
|
|||||||
Reference in New Issue
Block a user