1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00
This commit is contained in:
Steffo 2020-09-28 02:29:29 +02:00
parent 4b96b9b5a4
commit a4faf1eeff
2 changed files with 5 additions and 4 deletions

View file

@ -2,7 +2,7 @@
[tool.poetry] [tool.poetry]
name = "royalpack" name = "royalpack"
version = "5.15.1" version = "5.15.2"
description = "A Royalnet command pack for the Royal Games community" description = "A Royalnet command pack for the Royal Games community"
authors = ["Stefano Pigozzi <ste.pigozzi@gmail.com>"] authors = ["Stefano Pigozzi <ste.pigozzi@gmail.com>"]
license = "AGPL-3.0+" license = "AGPL-3.0+"

View file

@ -27,8 +27,9 @@ 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(author,
author,
treasure.value, 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!") await data.reply("🤑 Tesoro riscattato!")