mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-15 02:21:21 +01:00
Remove float conversion for dbl referrer
This commit is contained in:
parent
99afd2aeb7
commit
78af0891b1
@ -500,7 +500,7 @@ def webhook_discordbotsorg_vote():
|
||||
referrer = None
|
||||
if "referrer" in params:
|
||||
try:
|
||||
referrer = int(float(params["referrer"]))
|
||||
referrer = int(params["referrer"])
|
||||
except:
|
||||
pass
|
||||
DBLTrans = DiscordBotsOrgTransactions(int(user_id), vote_type, referrer)
|
||||
|
Loading…
Reference in New Issue
Block a user