[Topgg][Admin][Economy] Implement addCoins cb

This commit is contained in:
Harsha Raghu
2022-01-18 22:42:28 +05:30
parent 5b4d54a3b9
commit 038aabddfa
4 changed files with 21 additions and 5 deletions

View File

@@ -1,4 +1,5 @@
import asyncio
from codecs import ignore_errors
import logging
import traceback
import datetime
@@ -500,7 +501,7 @@ class ReactionRoleMessage:
if price and refund:
# Give the user the refund
lion = Lion.fetch(self.guild.id, member.id)
lion.addCoins(price)
lion.addCoins(price, ignorebonus=True)
# Notify the user
embed = discord.Embed(