mirror of
https://github.com/TeamPGM/PagerMaid_Plugins_Pyro.git
synced 2024-11-25 11:16:46 +00:00
websocket 修改命令
This commit is contained in:
parent
15698c16d9
commit
dc4baef29b
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user