fix(ext,bot): Accept All WS regression + auto_approve dual-write — VSIX v0.4.5
This commit is contained in:
14
bot.py
14
bot.py
@@ -1092,12 +1092,14 @@ class GravityBot(commands.Bot):
|
||||
"project_name": request.project_name,
|
||||
},
|
||||
})
|
||||
# Also write via legacy bridge
|
||||
self.bridge.write_response(UserResponse(
|
||||
request_id=request.request_id, approved=True,
|
||||
step_type=request.step_type,
|
||||
project_name=request.project_name,
|
||||
))
|
||||
# Hub delivered — skip file bridge to prevent dual delivery
|
||||
else:
|
||||
# File bridge fallback (only when Hub is unavailable)
|
||||
self.bridge.write_response(UserResponse(
|
||||
request_id=request.request_id, approved=True,
|
||||
step_type=request.step_type,
|
||||
project_name=request.project_name,
|
||||
))
|
||||
# Send compact auto-approved embed to Discord (was missing — caused silent approvals)
|
||||
channel = await self._get_channel(request.project_name)
|
||||
if channel:
|
||||
|
||||
Reference in New Issue
Block a user