mirror of
https://github.com/solero/houdini.git
synced 2025-08-09 20:24:05 +00:00
Get inventory handler
This commit is contained in:
@@ -0,0 +1,8 @@
|
|||||||
|
from houdini import handlers
|
||||||
|
from houdini.handlers import XTPacket
|
||||||
|
|
||||||
|
|
||||||
|
@handlers.handler(XTPacket('i', 'gi'))
|
||||||
|
@handlers.allow_once()
|
||||||
|
async def handle_get_inventory(p):
|
||||||
|
await p.send_xt('gi', *p.data.inventory.keys())
|
||||||
|
Reference in New Issue
Block a user