fix incorrect calculated cut in hat notifs

master
Aevann1 2022-09-04 00:33:25 +02:00
parent e2744d9330
commit 38036cf9ec
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ def buy_hat(v, hat_id):
if v.id != hat.author.id:
send_repeatable_notification(
hat.author.id,
f":marseycapitalistmanlet: @{v.username} has just bought `{hat.name}`, you have received your 10% cut ({int(hat.price * 0.05)} {currency}) :!marseycapitalistmanlet:"
f":marseycapitalistmanlet: @{v.username} has just bought `{hat.name}`, you have received your 10% cut ({int(hat.price * 0.1)} {currency}) :!marseycapitalistmanlet:"
)
if v.num_of_owned_hats >= 250: