From a4faf1eeff6a95d7279a8ab11044235e119e67dc Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 28 Sep 2020 02:29:29 +0200 Subject: [PATCH] facedesk --- pyproject.toml | 2 +- royalpack/commands/treasure.py | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0c2b149f..51d752d8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 "] license = "AGPL-3.0+" diff --git a/royalpack/commands/treasure.py b/royalpack/commands/treasure.py index df277613..33e9e1b8 100644 --- a/royalpack/commands/treasure.py +++ b/royalpack/commands/treasure.py @@ -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!")