Maubot restoU update
This commit is contained in:
parent
0131b4fe9a
commit
21a476c479
|
@ -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(
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
maubot: 0.1.0
|
||||
id: com.bhasher.uclouvainrestou
|
||||
version: 0.0.1
|
||||
version: 0.0.2
|
||||
license: MIT
|
||||
modules:
|
||||
- main
|
||||
|
|
Loading…
Reference in New Issue