diff --git a/royalnet/packs/royal/commands/diarioquote.py b/royalnet/packs/royal/commands/diarioquote.py index aa2051e4..adaf74f1 100644 --- a/royalnet/packs/royal/commands/diarioquote.py +++ b/royalnet/packs/royal/commands/diarioquote.py @@ -19,7 +19,7 @@ class DiarioquoteCommand(Command): entry_id = int(args[0].lstrip("#")) except ValueError: raise CommandError("L'id che hai specificato non รจ valido.") - entry: Diario = await data.session.query(self.alchemy.Diario).get(entry_id) + entry: Diario = await asyncify(data.session.query(self.alchemy.Diario).get, entry_id) if entry is None: raise CommandError("Nessuna riga con quell'id trovata.") await data.reply(str(entry)) diff --git a/royalnet/version.py b/royalnet/version.py index fd7ab2d4..5fe5f1f6 100644 --- a/royalnet/version.py +++ b/royalnet/version.py @@ -1,4 +1,4 @@ -semantic = "5.0a86" +semantic = "5.0a87" if __name__ == "__main__": print(semantic)