fix(bridge): fix Discord signal relay false-positives and empty body logic
This commit is contained in:
4
bot.py
4
bot.py
@@ -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]}")
|
||||
|
||||
Reference in New Issue
Block a user