Skip to content

Commit

Permalink
Stop sending coal NFTs due to empty
Browse files Browse the repository at this point in the history
  • Loading branch information
Vyryn committed Dec 5, 2023
1 parent 1d37a08 commit 3c97d86
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions greenwiz/cogs/santabot.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,18 +139,19 @@ async def send_daily_reward(ctx, bot, base_luck_for_user: float = 1.0):
msg = await attempt_to_send_daily_reward_ban_or_send_cm_instead(
bot.session, author, bot, 500.0
)
elif luck > 0.25:
elif luck > 0.2:
amount = random.randint(8, 42)
msg = await attempt_to_send_daily_reward_ban_or_send_cm_instead(
bot.session, author, bot, float(amount)
)
elif luck > 0.1:
else:
# elif luck > 0.1:
await send_daily_reward_cryptomonkey(bot, author)
msg = "You got a cryptomonKeys NFT from Santa, cool!"
else:
await send_coal(bot, author)
# record_user_opened_today_gift(author.id, "Coal")
msg = "Whoops! You were naughty and only got coal from Santa today."
# else:
# await send_coal(bot, author)
# # record_user_opened_today_gift(author.id, "Coal")
# msg = "Whoops! You were naughty and only got coal from Santa today."

await err(ctx, msg)

Expand Down

0 comments on commit 3c97d86

Please sign in to comment.