From 02e9e4d424d6ea451b6aac6e6bf5e6fdea704410 Mon Sep 17 00:00:00 2001 From: CD Date: Sat, 7 Mar 2026 15:15:56 +0900 Subject: [PATCH] fix: bot text confirmation on relay + rename @bridge to @gravity + channel dedup --- bot.py | 5 +++++ extension/package.json | 6 +++--- extension/src/extension.ts | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/bot.py b/bot.py index 27568cd..75d4f7b 100644 --- a/bot.py +++ b/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) diff --git a/extension/package.json b/extension/package.json index 95c1946..e8cf0b7 100644 --- a/extension/package.json +++ b/extension/package.json @@ -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 @@ } } } -} +} \ No newline at end of file diff --git a/extension/src/extension.ts b/extension/src/extension.ts index c93b570..6e15255 100644 --- a/extension/src/extension.ts +++ b/extension/src/extension.ts @@ -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');