-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTemplates.js
27 lines (25 loc) · 1012 Bytes
/
Templates.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
function gameTemplate(image, string, character, difficulty, players) {
return (
`🧠💡 <b>Difficulty:</b> <code>${difficulty}</code>\n\n` +
`<b>${players || '👤'}</b>` +
`<pre>🎨 Emoji Puzzle Time! 🎨\n\n\n` +
`Guess the Emoji: ${image}\n\n` +
`Status: ${string}\n\n\n` +
`<b>Your Turn! Choose a Letter:</b> <code>${character || '🔖'}</code> </pre>`
)
}
function winnerTemplate(winner, players, emoji, name) {
return (
`🎮👥 <b>Players:\n\n` +
`${players}\n` +
`🎮 Game:\n\n` +
` ▫️ Emoji: <code>${emoji}</code>\n` +
` ▫️ Name: <code>${name}</code>\n\n\n` +
`🌟 Emoji Puzzle Winner!</b> 🌟\n\n` +
` ${winner} 🎉🏆 \n\n\n` +
`Thanks to everyone for participating.\n` +
`Join us again tomorrow for more brain-teasing questions! 🧠💡`)
}
function generatePlayersTemplate(player, char) {
return (` 👤 ${player} : ${char}\n`)
}