Discord Integration

Bot Installation

Verifying Taicket bot guild presence, official Discord invite links, module permission requirements, and role hierarchy placement.

Bot Presence Verification

Before inspecting server channels, validating roles, or deploying Components V2 panels, Taicket MCP verifies that the Taicket bot user is currently a member of the target guild via fetchBotGuilds, fetchGuildDetails, and fetchBotGuildMember.

When a caller inspects a manageable guild where Taicket is not installed yet, get_discord_servers marks botInstalled: false and returns a pre-filled single-guild Discord OAuth2 invite link (with guild_id and disable_guild_select=true) so the server manager can add the bot directly.

Official single-guild bot invite URL formathttp
https://discord.com/oauth2/authorize?client_id=<DISCORD_CLIENT_ID>&permissions=395471875160&scope=bot%20applications.commands&guild_id=<GUILD_ID>&disable_guild_select=true

Discord Permissions Required by Module

While granting Administrator (0x8) satisfies every Taicket module out of the box, servers operating under granular permission models can grant only the permissions required by their enabled modules.

Module GroupMinimum Discord Bot Permissions
Tickets & AI SupportView Channels, Manage Channels, Manage Roles (for ticket overwrites), Send Messages, Embed Links, Attach Files, Read Message History, Manage Messages
Moderation, AutoMod & AutoBanModerate Members (Timeout), Kick Members, Ban Members, Manage Messages, Manage Server (required by Discord API for native AutoMod rules)
Anti-Nuke DefenseAdministrator (strongly recommended), View Audit Log, Manage Roles (quarantine), Kick/Ban Members
Verification & Jail Auto-SetupManage Channels, Manage Roles, View Channels, Send Messages, Embed Links, Kick Members (Enterprise unverified auto-kick)
Greetings, Leveling, Economy & Reaction RolesView Channels, Send Messages, Embed Links, Attach Files, Manage Roles, Add Reactions, Use External Emojis
Music & Voice FeaturesConnect, Speak, View Channels, Send Messages, Move Members (ticket voice rooms)
Enterprise Bot BrandingChange Nickname + Bot token PATCH /guilds/{guildId}/members/@me

Role Hierarchy Placement & Diagnostics

Discord enforces strict role hierarchy on every role assignment and moderation operation: Taicket can only assign or remove roles positioned strictly below Taicket highest role (role.position < botHighestPos).

Invoking get_server_topology resolves botHighestPos from fetchBotGuildMember and fetchGuildRoles, flagging any role positioned at or above the bot so administrators know to drag Taicket role higher in Discord Server Settings -> Roles before enabling Verification, Auto-Roles, Level Rewards, Economy Store items, Reaction Roles, Jail, or Anti-Nuke Quarantine.

Related documentation