mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 11:34:18 +00:00
facedesk
This commit is contained in:
parent
4b96b9b5a4
commit
a4faf1eeff
2 changed files with 5 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
[tool.poetry]
|
||||
name = "royalpack"
|
||||
version = "5.15.1"
|
||||
version = "5.15.2"
|
||||
description = "A Royalnet command pack for the Royal Games community"
|
||||
authors = ["Stefano Pigozzi <ste.pigozzi@gmail.com>"]
|
||||
license = "AGPL-3.0+"
|
||||
|
|
|
@ -27,8 +27,9 @@ class TreasureCommand(rc.Command):
|
|||
|
||||
treasure.redeemed_by = author
|
||||
await ru.asyncify(session.commit)
|
||||
await FiorygiTransaction.spawn_fiorygi(data,
|
||||
author,
|
||||
await FiorygiTransaction.spawn_fiorygi(author,
|
||||
treasure.value,
|
||||
f'aver trovato il tesoro "{treasure.code}"')
|
||||
f'aver trovato il tesoro "{treasure.code}"',
|
||||
data=data,
|
||||
session=session)
|
||||
await data.reply("🤑 Tesoro riscattato!")
|
||||
|
|
Loading…
Reference in a new issue