mirror of
https://github.com/UniverseDevGroup/PokeBot.git
synced 2025-01-22 17:32:00 -05:00
fix lotto glitch
This commit is contained in:
parent
630f03e722
commit
0b92229494
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ exports.run = async (bot, msg) => {
|
|||
const balance = await bot.plugins.economy.get(msg.author.id);
|
||||
return await msg.channel.send('You won 1000 credits!\nCurrent Balance: ' + balance + ' \n> ' + emojify(number1, number2, number3));
|
||||
}
|
||||
else if (number2 == number3 - 1 && 1 == number2 - 1) {
|
||||
else if (number2 == number3 - 1 && number1 == number2 - 1) {
|
||||
await bot.plugins.economy.add(msg.author.id, 1500);
|
||||
const balance = await bot.plugins.economy.get(msg.author.id);
|
||||
return await msg.channel.send('You won 1500 credits!\nCurrent Balance: ' + balance + ' \n> ' + emojify(number1, number2, number3));
|
||||
|
|
Loading…
Reference in a new issue