From 8455cc6f9fd45147c27121202ad0c1edbf39d330 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 3 Jan 2021 18:39:26 +0100 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=20Update=20commands=20to=20the=20late?= =?UTF-8?q?st=20version=20of=20Royalnet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- poetry.lock | 8 ++++---- pyproject.toml | 2 +- royalpack/commands/ahnonlosoio.py | 2 +- royalpack/commands/ping.py | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/poetry.lock b/poetry.lock index bab92763..b262c3d9 100644 --- a/poetry.lock +++ b/poetry.lock @@ -112,7 +112,7 @@ marker = "sys_platform == \"win32\"" [[package]] name = "royalnet" -version = "6.0.0a32" +version = "6.0.0a33" description = "A multipurpose bot and web framework" category = "main" optional = false @@ -174,7 +174,7 @@ multidict = ">=4.0" [metadata] lock-version = "1.0" python-versions = "^3.9" -content-hash = "acade22e7ef073529cc85ac5da4f7dae80d828a4f541b428be96d53d97328693" +content-hash = "227a77d4af0a59cb4289ac3e29d342788bafe838fbabc5e566383e518f86c5cf" [metadata.files] aiohttp = [ @@ -309,8 +309,8 @@ pyreadline = [ {file = "pyreadline-2.1.zip", hash = "sha256:4530592fc2e85b25b1a9f79664433da09237c1a270e4d78ea5aa3a2c7229e2d1"}, ] royalnet = [ - {file = "royalnet-6.0.0a32-py3-none-any.whl", hash = "sha256:6219c841771d0e4c7423b4921ec33a55cfa47bc57f9ce603b53176acc68594a5"}, - {file = "royalnet-6.0.0a32.tar.gz", hash = "sha256:5ba4c125fd97d39cd24711bbac9e3db89b0448a53c85f706538ea0fdaa69e646"}, + {file = "royalnet-6.0.0a33-py3-none-any.whl", hash = "sha256:b8455febca99b8e5d2a9260ea4d7694975c65182fbdd4a6159411b6830fa0796"}, + {file = "royalnet-6.0.0a33.tar.gz", hash = "sha256:7b9c18c918dae94db437640bf044fb20ff6180b879f45aa067b68abdb598c5d6"}, ] sqlalchemy = [ {file = "SQLAlchemy-1.3.22-cp27-cp27m-macosx_10_14_x86_64.whl", hash = "sha256:61628715931f4962e0cdb2a7c87ff39eea320d2aa96bd471a3c293d146f90394"}, diff --git a/pyproject.toml b/pyproject.toml index 521b3354..b609eb08 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ license = "AGPL-3.0-or-later" [tool.poetry.dependencies] python = "^3.9" -royalnet = "6.0.0a32" +royalnet = "6.0.0a33" coloredlogs = "^15.0" aiohttp = "^3.7.3" diff --git a/royalpack/commands/ahnonlosoio.py b/royalpack/commands/ahnonlosoio.py index 1f966a43..a394513f 100644 --- a/royalpack/commands/ahnonlosoio.py +++ b/royalpack/commands/ahnonlosoio.py @@ -1,7 +1,7 @@ import royalnet.engineer as engi -@engi.PartialCommand.new(name="ahnonlosoio", syntax="") +@engi.PartialCommand.new(syntax="") def ahnonlosoio(_sentry: engi.Sentry, _msg: engi.Message, **__): """ Ah, non lo so io! diff --git a/royalpack/commands/ping.py b/royalpack/commands/ping.py index c83f4829..11f0890c 100644 --- a/royalpack/commands/ping.py +++ b/royalpack/commands/ping.py @@ -1,7 +1,7 @@ import royalnet.engineer as engi -@engi.PartialCommand.new(name="ping", syntax="") +@engi.PartialCommand.new(syntax="") def ping(_sentry: engi.Sentry, _msg: engi.Message, **__): """ A way to check if the bot is working: it will always reply to this command with "🏓 Pong!".