mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-26 21:14:19 +00:00
⬆ Update commands to the latest version of Royalnet
This commit is contained in:
parent
867419c6bc
commit
8455cc6f9f
4 changed files with 7 additions and 7 deletions
8
poetry.lock
generated
8
poetry.lock
generated
|
@ -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"},
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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!
|
||||
|
|
|
@ -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!".
|
||||
|
|
Loading…
Reference in a new issue