mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 11:34:18 +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
|
||||
await ru.asyncify(session.commit)
|
||||
await FiorygiTransaction.spawn_fiorygi(data,
|
||||
author,
|
||||
treasure.value,
|
||||
f'aver trovato il tesoro "{treasure.code}"')
|
||||
await data.reply("🤑 Tesoro riscattato!")
|
||||
await FiorygiTransaction.spawn_fiorygi(data,
|
||||
author,
|
||||
treasure.value,
|
||||
f'aver trovato il tesoro "{treasure.code}"')
|
||||
await data.reply("🤑 Tesoro riscattato!")
|
||||
|
|
Loading…
Reference in a new issue