Skip to content

Commit

Permalink
Add gained gems from hourly, daily
Browse files Browse the repository at this point in the history
  • Loading branch information
riazufila committed May 9, 2021
1 parent 74862ff commit af2a416
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cogs/currency.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,7 @@ async def hourly(self, ctx):
if qualified_hourly:
gems = 500
db_ailie.store_gems(ctx.author.id, gems)
db_ailie.store_gained_gems(ctx.author.id, gems)
db_ailie.update_user_exp(ctx.author.id, 5)
await ctx.send(
f"Hourly gems claimed. You obtained {gems:,d} 💎, "
Expand Down Expand Up @@ -450,6 +451,7 @@ async def daily(self, ctx):
count = db_ailie.get_daily_count(ctx.author.id)
gems = 2500 + (200 * count)
db_ailie.store_gems(ctx.author.id, gems)
db_ailie.store_gained_gems(ctx.author.id, gems)
db_ailie.update_user_exp(ctx.author.id, 5)
await ctx.send(
f"Daily gems claimed for {count} time(s). "
Expand Down

0 comments on commit af2a416

Please sign in to comment.