mirror of
https://github.com/TeamPGM/PagerMaid_Plugins_Pyro.git
synced 2024-11-25 08:34:49 +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__())
|
||||
|
||||
|
||||
@listener(command="ws", description="Websocket Connect", parameters="<uri>")
|
||||
@listener(command="websocket", description="Websocket Connect", parameters="<uri>")
|
||||
async def websocket_to_connect(message: Message):
|
||||
if message.arguments:
|
||||
uri = message.arguments
|
||||
|
Loading…
Reference in New Issue
Block a user