mirror of
https://github.com/solero/houdini.git
synced 2025-08-09 20:24:05 +00:00
Initial commit
This commit is contained in:
11
Houdini/Plugins/Commands/__init__.py
Normal file
11
Houdini/Plugins/Commands/__init__.py
Normal file
@@ -0,0 +1,11 @@
|
||||
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))
|
0
Houdini/Plugins/__init__.py
Normal file
0
Houdini/Plugins/__init__.py
Normal file
Reference in New Issue
Block a user