From 174e682ebe4c92aeb3eceafbac730a20218a648e Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 26 Feb 2020 19:19:01 +0100 Subject: [PATCH] fix magickfiorygi bug --- pyproject.toml | 2 +- royalpack/commands/magickfiorygi.py | 2 +- royalpack/version.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 11c85e0f..8b0dbdf0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ [tool.poetry] name = "royalpack" - version = "5.5.2" + version = "5.5.3" description = "A Royalnet command pack for the Royal Games community" authors = ["Stefano Pigozzi "] license = "AGPL-3.0+" diff --git a/royalpack/commands/magickfiorygi.py b/royalpack/commands/magickfiorygi.py index 58c9fc1f..994d03d9 100644 --- a/royalpack/commands/magickfiorygi.py +++ b/royalpack/commands/magickfiorygi.py @@ -24,7 +24,7 @@ class MagickfiorygiCommand(rc.Command): if user_arg is None: raise rc.InvalidInputError("Non hai specificato un destinatario!") - user = Alias.find_by_alias(self.alchemy, data.session, user_arg) + user = await Alias.find_user(self.alchemy, data.session, user_arg) if user is None: raise rc.InvalidInputError("L'utente specificato non esiste!") diff --git a/royalpack/version.py b/royalpack/version.py index 6573d14b..990ad572 100644 --- a/royalpack/version.py +++ b/royalpack/version.py @@ -1 +1 @@ -semantic = "5.5.2" +semantic = "5.5.3"