mirror of
https://github.com/solero/houdini.git
synced 2024-12-23 14:03:38 +00:00
Placeholder for puffle name check handler
This commit is contained in:
parent
ba4b92c8a9
commit
81f40e7066
@ -5,3 +5,9 @@ from houdini.handlers import XTPacket
|
|||||||
@handlers.handler(XTPacket('p', 'getdigcooldown'), pre_login=True)
|
@handlers.handler(XTPacket('p', 'getdigcooldown'), pre_login=True)
|
||||||
async def handle_get_dig_cooldown(p):
|
async def handle_get_dig_cooldown(p):
|
||||||
await p.send_xt('getdigcooldown', 1)
|
await p.send_xt('getdigcooldown', 1)
|
||||||
|
|
||||||
|
|
||||||
|
@handlers.handler(XTPacket('p', 'checkpufflename'))
|
||||||
|
async def handle_check_puffle_name_with_response(p, puffle_name):
|
||||||
|
name_ok = puffle_name.isalnum()
|
||||||
|
await p.send_xt('checkpufflename', puffle_name, int(name_ok))
|
||||||
|
Loading…
Reference in New Issue
Block a user