fix(bridge): fix Discord signal relay false-positives and empty body logic

This commit is contained in:
Variet Worker
2026-04-10 00:12:01 +09:00
parent 22e1799d66
commit fadd39424b
6 changed files with 35 additions and 13 deletions

4
bot.py
View File

@@ -732,7 +732,7 @@ class GravityBot(commands.Bot):
try:
embed = discord.Embed(
title="🤖 자동 승인됨",
description=f"```\n{req.command[:500]}\n```",
description=f"✅ **{req.command}**\n\n```\n{req.description[:2000]}\n```" if getattr(req, "description", "") else f"✅ **{req.command}**",
color=discord.Color.green(),
)
embed.set_footer(text=f"auto-approve | {req.request_id[:12]}")
@@ -1158,7 +1158,7 @@ class GravityBot(commands.Bot):
try:
embed = discord.Embed(
title="🤖 자동 승인됨",
description=f"```\n{request.command[:500]}\n```",
description=f"✅ **{request.command}**\n\n```\n{request.description[:2000]}\n```" if getattr(request, "description", "") else f"✅ **{request.command}**",
color=discord.Color.green(),
)
embed.set_footer(text=f"auto-approve | {request.request_id[:12]}")