fix: bot text confirmation on relay + rename @bridge to @gravity + channel dedup
This commit is contained in:
5
bot.py
5
bot.py
@@ -475,6 +475,11 @@ class GravityBot(commands.Bot):
|
||||
if text:
|
||||
self.bridge.write_command(project, text, project_name=project)
|
||||
await message.add_reaction("📨")
|
||||
embed = discord.Embed(
|
||||
description=f"📨 → **{project}** IDE에 전달됨\n`{text[:100]}`",
|
||||
color=discord.Color.blurple(),
|
||||
)
|
||||
await message.channel.send(embed=embed, delete_after=10)
|
||||
|
||||
await self.process_commands(message)
|
||||
|
||||
|
||||
@@ -27,8 +27,8 @@
|
||||
"contributes": {
|
||||
"chatParticipants": [
|
||||
{
|
||||
"id": "gravity-bridge.bridge",
|
||||
"name": "bridge",
|
||||
"id": "gravity-bridge.gravity",
|
||||
"name": "gravity",
|
||||
"fullName": "Gravity Bridge",
|
||||
"description": "대화 히스토리를 Discord로 전송 + AI 제어",
|
||||
"isSticky": false
|
||||
@@ -72,4 +72,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -107,7 +107,7 @@ export function activate(context: vscode.ExtensionContext) {
|
||||
// Register @bridge Chat Participant for history relay
|
||||
try {
|
||||
const participant = vscode.chat.createChatParticipant(
|
||||
'gravity-bridge.bridge',
|
||||
'gravity-bridge.gravity',
|
||||
bridgeChatHandler
|
||||
);
|
||||
participant.iconPath = new vscode.ThemeIcon('radio-tower');
|
||||
|
||||
Reference in New Issue
Block a user