websocket 修改命令

This commit is contained in:
xtaodada 2022-09-01 16:49:49 +08:00
parent 15698c16d9
commit dc4baef29b
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -130,7 +130,7 @@ async def websocket_push(message: Message):
await ws.push(message.__str__()) await ws.push(message.__str__())
@listener(command="ws", description="Websocket Connect", parameters="<uri>") @listener(command="websocket", description="Websocket Connect", parameters="<uri>")
async def websocket_to_connect(message: Message): async def websocket_to_connect(message: Message):
if message.arguments: if message.arguments:
uri = message.arguments uri = message.arguments