I am unsmart
This commit is contained in:
parent
86f15c75fe
commit
00ce4d8934
4
index.js
4
index.js
|
@ -653,14 +653,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"}** ${poor ? Math.abs(points) : Math.abs(bet)} coins!`, // sanity check
|
description: `You flipped ${config.games.coinflip.heads} and **${outcome ? "won" : "lost"}** ${Math.abs(bet)} coins!`, // sanity check
|
||||||
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"}** ${poor ? Math.abs(points) : Math.abs(bet)} coins!`,
|
description: `You flipped ${config.games.coinflip.tails} and **${outcome ? "won" : "lost"}** ${Math.abs(bet)} coins!`,
|
||||||
color: outcome ? 0x00ff00 : 0xff0000
|
color: outcome ? 0x00ff00 : 0xff0000
|
||||||
}]
|
}]
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue