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:
parent
132cacb534
commit
86d5ecce39
1 changed files with 5 additions and 5 deletions
|
@ -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!")
|
||||||
|
|
Loading…
Reference in a new issue