make output a bit more verbose
increase verbosity in case i made an oopsie that isn't returning false
This commit is contained in:
parent
214d9b06a4
commit
c7ec8c6a25
4
index.js
4
index.js
|
@ -606,14 +606,14 @@ client.on("interactionCreate", async interaction => {
|
||||||
if (coin == "heads") return interaction.reply({
|
if (coin == "heads") return interaction.reply({
|
||||||
embeds: [{
|
embeds: [{
|
||||||
title: "Coinflip",
|
title: "Coinflip",
|
||||||
description: `You flipped ${config.games.coinflip.heads} and **${outcome ? "won" : "lost"}** ${Math.abs(bet)} coins!`,
|
description: `You flipped ${config.games.coinflip.heads} and **${outcome ? "won" : "lost"}** ${Math.abs(bet)} coins! You Chose: ${side}.`,
|
||||||
color: outcome ? 0x00ff00 : 0xff0000
|
color: outcome ? 0x00ff00 : 0xff0000
|
||||||
}]
|
}]
|
||||||
});
|
});
|
||||||
else if (coin == "tails") return interaction.reply({
|
else if (coin == "tails") return interaction.reply({
|
||||||
embeds: [{
|
embeds: [{
|
||||||
title: "Coinflip",
|
title: "Coinflip",
|
||||||
description: `You flipped ${config.games.coinflip.tails} and **${outcome ? "won" : "lost"}** ${Math.abs(bet)} coins!`,
|
description: `You flipped ${config.games.coinflip.tails} and **${outcome ? "won" : "lost"}** ${Math.abs(bet)} coins! You Chose: ${side}.`,
|
||||||
color: outcome ? 0x00ff00 : 0xff0000
|
color: outcome ? 0x00ff00 : 0xff0000
|
||||||
}]
|
}]
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue