diff --git a/royalpack/commands/__init__.py b/royalpack/commands/__init__.py new file mode 100644 index 00000000..5744640b --- /dev/null +++ b/royalpack/commands/__init__.py @@ -0,0 +1,2 @@ +from .ahnonlosoio import * +from .ping import * diff --git a/royalpack/commands/ahnonlosoio.py b/royalpack/commands/ahnonlosoio.py new file mode 100644 index 00000000..1f966a43 --- /dev/null +++ b/royalpack/commands/ahnonlosoio.py @@ -0,0 +1,12 @@ +import royalnet.engineer as engi + + +@engi.PartialCommand.new(name="ahnonlosoio", syntax="") +def ahnonlosoio(_sentry: engi.Sentry, _msg: engi.Message, **__): + """ + Ah, non lo so io! + """ + await _msg.send_reply(r"¯\_(ツ)_/¯ Ah, non lo so io!") + + +__all__ = ("ahnonlosoio",) diff --git a/royalpack/commands/ping.py b/royalpack/commands/ping.py new file mode 100644 index 00000000..c83f4829 --- /dev/null +++ b/royalpack/commands/ping.py @@ -0,0 +1,12 @@ +import royalnet.engineer as engi + + +@engi.PartialCommand.new(name="ping", 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!". + """ + await _msg.send_reply("🏓 Pong!") + + +__all__ = ("ping",)