mirror of
https://github.com/solero/houdini.git
synced 2024-11-14 22:58:21 +00:00
12 lines
277 B
Python
12 lines
277 B
Python
|
from Houdini.Handlers import Handlers, XTPacket
|
||
|
|
||
|
|
||
|
class Commands:
|
||
|
|
||
|
def __init__(self, server):
|
||
|
self.server = server
|
||
|
|
||
|
@Handlers.handler(XTPacket('s', 'sm'))
|
||
|
async def handle_send_message(self, message: str):
|
||
|
print('Do stuff with {}'.format(message))
|