diff --git a/royalpack/commands/__init__.py b/royalpack/commands/__init__.py index 5744640b..509e52b3 100644 --- a/royalpack/commands/__init__.py +++ b/royalpack/commands/__init__.py @@ -1,2 +1,4 @@ from .ahnonlosoio import * +from .cat import * from .ping import * +from .ship import * diff --git a/royalpack/commands/ahnonlosoio.py b/royalpack/commands/ahnonlosoio.py index 17f17202..d3c04074 100644 --- a/royalpack/commands/ahnonlosoio.py +++ b/royalpack/commands/ahnonlosoio.py @@ -2,7 +2,7 @@ import royalnet.engineer as engi @engi.PartialCommand.new(syntax="") -def ahnonlosoio(*, _sentry: engi.Sentry, _msg: engi.Message, **__): +async def ahnonlosoio(*, _sentry: engi.Sentry, _msg: engi.Message, **__): """ Ah, non lo so io! """ diff --git a/royalpack/commands/cat.py b/royalpack/commands/cat.py index 4f9f69d2..d189c890 100644 --- a/royalpack/commands/cat.py +++ b/royalpack/commands/cat.py @@ -17,7 +17,7 @@ log = logging.getLogger(__name__) # Code @engi.PartialCommand.new(syntax="") -def cat(*, _sentry: engi.Sentry, _msg: engi.Message, **__): +async def cat(*, _sentry: engi.Sentry, _msg: engi.Message, **__): """ Send a cat in the chat! 🐈 """ diff --git a/royalpack/commands/ping.py b/royalpack/commands/ping.py index 409d31b1..d281cf6f 100644 --- a/royalpack/commands/ping.py +++ b/royalpack/commands/ping.py @@ -2,7 +2,7 @@ import royalnet.engineer as engi @engi.PartialCommand.new(syntax="") -def ping(*, _sentry: engi.Sentry, _msg: engi.Message, **__): +async 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!". """ diff --git a/royalpack/commands/ship.py b/royalpack/commands/ship.py index 42dca09a..bd89d2c7 100644 --- a/royalpack/commands/ship.py +++ b/royalpack/commands/ship.py @@ -16,7 +16,7 @@ log = logging.getLogger(__name__) # Code @engi.PartialCommand.new(syntax=r"(?P[A-Za-z]+)[\s+&]+(?P[A-Za-z]+)") -def ship(*, _sentry: engi.Sentry, _msg: engi.Message, first: str, second: str, **__): +async def ship(*, _sentry: engi.Sentry, _msg: engi.Message, first: str, second: str, **__): """ Ship two names together! 💞 """