1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00

fix treasure not working

This commit is contained in:
Steffo 2020-09-28 02:10:00 +02:00
parent 132cacb534
commit 86d5ecce39

View file

@ -27,8 +27,8 @@ class TreasureCommand(rc.Command):
treasure.redeemed_by = author treasure.redeemed_by = author
await ru.asyncify(session.commit) await ru.asyncify(session.commit)
await FiorygiTransaction.spawn_fiorygi(data, await FiorygiTransaction.spawn_fiorygi(data,
author, author,
treasure.value, treasure.value,
f'aver trovato il tesoro "{treasure.code}"') f'aver trovato il tesoro "{treasure.code}"')
await data.reply("🤑 Tesoro riscattato!") await data.reply("🤑 Tesoro riscattato!")