From 21a476c47982ea3987f76c8c320c2d6e16152c9d Mon Sep 17 00:00:00 2001 From: BhasherBEL Date: Tue, 23 Jan 2024 00:35:27 +0100 Subject: [PATCH] Maubot restoU update --- builds/maubot-resotU/main.py | 1 + builds/maubot-resotU/maubot.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/builds/maubot-resotU/main.py b/builds/maubot-resotU/main.py index f783ae6..acc5030 100644 --- a/builds/maubot-resotU/main.py +++ b/builds/maubot-resotU/main.py @@ -37,6 +37,7 @@ class UCLouvainRestoUBot(Plugin): # Highly inspired by https://github.com/maubot/echo @command.new("ping", help="Ping") async def ping_handler(self, evt: MessageEvent, message: str = "") -> None: + print('PING') diff = int(time() * 1000) - evt.timestamp content = TextMessageEventContent( diff --git a/builds/maubot-resotU/maubot.yaml b/builds/maubot-resotU/maubot.yaml index f94dc87..d04ac67 100644 --- a/builds/maubot-resotU/maubot.yaml +++ b/builds/maubot-resotU/maubot.yaml @@ -1,6 +1,6 @@ maubot: 0.1.0 id: com.bhasher.uclouvainrestou -version: 0.0.1 +version: 0.0.2 license: MIT modules: - main