mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
5.0a87
This commit is contained in:
parent
ed79f4f1f7
commit
7936d5b291
2 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
semantic = "5.0a86"
|
||||
semantic = "5.0a87"
|
||||
|
||||
if __name__ == "__main__":
|
||||
print(semantic)
|
||||
|
|
Loading…
Reference in a new issue