Skip to content

Commit 30f4a77

Browse files
bchapuisclaude
andcommitted
Remove invite link from DiscordBotSetupInfo component
The invite is now handled by the dedicated wizard step, so the shared setup info component only needs to show the webhook URL. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 9cc0fb1 commit 30f4a77

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

apps/app/src/components/workflow/bot-setup-info.tsx

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ export function DiscordBotSetupInfo({
1616
const [copied, setCopied] = useState(false);
1717
const webhookUrl = `${getApiBaseUrl()}/discord/webhook/${botId}`;
1818
const portalUrl = `https://discord.com/developers/applications/${applicationId}/information`;
19-
const inviteUrl = `https://discord.com/oauth2/authorize?client_id=${applicationId}&scope=bot+applications.commands&permissions=2048`;
2019

2120
const handleCopy = async () => {
2221
await navigator.clipboard.writeText(webhookUrl);
@@ -58,18 +57,6 @@ export function DiscordBotSetupInfo({
5857
</a>
5958
</p>
6059
</div>
61-
62-
<div>
63-
<a
64-
href={inviteUrl}
65-
target="_blank"
66-
rel="noopener noreferrer"
67-
className="inline-flex items-center gap-1 text-primary hover:underline text-xs"
68-
>
69-
Add Bot to Server
70-
<ExternalLink className="w-3 h-3" />
71-
</a>
72-
</div>
7360
</div>
7461
);
7562
}

0 commit comments

Comments
 (0)