configure_giveaways
Configure GiveawayGuildConfig default Components V2/embed templates, host/bypass/required role presets, and Top.gg review verification channel on the dedicated taicket_giveaways database.
Overview
Configures reusable Giveaway defaults in the isolated taicket_giveaways MongoDB database, including default container or embed styling, accent color, default announcement channel, default ping role, host/bypass/required role presets, winner DM preference, and Top.gg review verification channel.
Launching, editing, ending, rerolling, or deleting live active giveaways remains strictly dashboard-only on https://taicket.xyz or directly in Discord.
Permissions
- Required Scopes
- mcp:write
- Discord Role Access
- Real Admin or active Temp Admin.
- Server-Side Guard
- checkManageGuild + cross-guild channel and role verification
- Subscription Tier
- Available on Free, Pro, and Enterprise.
Dashboard-only security boundaries
Launching, editing, ending, rerolling, or deleting live active giveaways remains strictly on https://taicket.xyz or Discord commands.
Input Schema
JSON Schema enforced by the server prior to RBAC and tier validation. Unknown properties are rejected strictly.
{
"type": "object",
"properties": {
"guildId": {
"type": "string",
"pattern": "^\\d{17,22}$",
"description": "Discord server (guild) snowflake ID."
},
"mode": {
"type": "string",
"enum": [
"preview",
"apply"
],
"default": "preview",
"description": "Execution mode. Use preview to validate and inspect changes before writing."
},
"liveAction": {
"type": "string",
"enum": [
"create",
"edit",
"end",
"reroll",
"delete"
],
"description": "Blocked over MCP. Starting, editing, ending, rerolling, or deleting live giveaways is strictly dashboard-only."
},
"defaultStyle": {
"type": "string",
"enum": [
"container_v2",
"container",
"embed"
],
"description": "Shorthand default giveaway card layout (maps container_v2 to container)."
},
"defaultDisplayMode": {
"type": "string",
"enum": [
"container",
"embed"
],
"description": "Default display mode for new giveaways."
},
"accentColor": {
"type": "string",
"pattern": "^#?[0-9a-fA-F]{6}$",
"description": "Shorthand hex accent color for giveaway containers."
},
"defaultAccentColor": {
"type": "string",
"pattern": "^#?[0-9a-fA-F]{6}$",
"description": "Default 6-digit hex accent color for giveaway cards."
},
"defaultChannelId": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{17,22}$"
},
{
"type": "null"
}
],
"description": "Default Discord text channel ID for posting new giveaways."
},
"defaultPingRoleId": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{17,22}$"
},
{
"type": "null"
}
],
"description": "Optional guild role ID to mention when launching new giveaways."
},
"reviewVerificationChannelId": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{17,22}$"
},
{
"type": "null"
}
],
"description": "Optional text channel ID for Top.gg review verification."
},
"topggReviewChannelId": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{17,22}$"
},
{
"type": "null"
}
],
"description": "Alias for reviewVerificationChannelId."
},
"dmWinners": {
"type": "boolean",
"description": "Whether to direct-message winners by default."
},
"winnerAnnouncementTemplate": {
"type": "string",
"maxLength": 1000,
"description": "Default template used when announcing giveaway winners."
},
"hostRoleIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^\\d{17,22}$"
},
"maxItems": 25,
"description": "Default guild role IDs authorized to host giveaways."
},
"defaultHostRoleIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^\\d{17,22}$"
},
"maxItems": 25,
"description": "Alias for hostRoleIds."
},
"bypassRoleIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^\\d{17,22}$"
},
"maxItems": 25,
"description": "Default guild role IDs allowed to bypass giveaway entry requirements."
},
"defaultBypassRoleIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^\\d{17,22}$"
},
"maxItems": 25,
"description": "Alias for bypassRoleIds."
},
"requiredRoleIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^\\d{17,22}$"
},
"maxItems": 25,
"description": "Default guild role IDs required to enter giveaways."
},
"defaultRequiredRoleIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^\\d{17,22}$"
},
"maxItems": 25,
"description": "Alias for requiredRoleIds."
},
"defaultContainerBlocks": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {}
},
"maxItems": 25,
"description": "Default Components V2 container blocks template."
},
"defaultEmbedConfig": {
"anyOf": [
{
"type": "object",
"additionalProperties": {}
},
{
"type": "null"
}
],
"description": "Default classic embed template configuration."
}
},
"required": [
"guildId"
],
"additionalProperties": false
}Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| guildId | string | Required | Discord server (guild) snowflake ID. |
| mode | string | Optional (preview) | Execution mode. Use preview to validate and inspect changes before writing. Allowed: preview | apply |
| liveAction | string | Optional | Blocked over MCP. Starting, editing, ending, rerolling, or deleting live giveaways is strictly dashboard-only. Allowed: create | edit | end | reroll | delete |
| defaultStyle | string | Optional | Shorthand default giveaway card layout (maps container_v2 to container). Allowed: container_v2 | container | embed |
| defaultDisplayMode | string | Optional | Default display mode for new giveaways. Allowed: container | embed |
| accentColor | string | Optional | Shorthand hex accent color for giveaway containers. |
| defaultAccentColor | string | Optional | Default 6-digit hex accent color for giveaway cards. |
| defaultChannelId | string | null | Optional | Default Discord text channel ID for posting new giveaways. |
| defaultPingRoleId | string | null | Optional | Optional guild role ID to mention when launching new giveaways. |
| reviewVerificationChannelId | string | null | Optional | Optional text channel ID for Top.gg review verification. |
| topggReviewChannelId | string | null | Optional | Alias for reviewVerificationChannelId. |
| dmWinners | boolean | Optional | Whether to direct-message winners by default. |
| winnerAnnouncementTemplate | string | Optional | Default template used when announcing giveaway winners. |
| hostRoleIds | array<string> | Optional | Default guild role IDs authorized to host giveaways. |
| defaultHostRoleIds | array<string> | Optional | Alias for hostRoleIds. |
| bypassRoleIds | array<string> | Optional | Default guild role IDs allowed to bypass giveaway entry requirements. |
| defaultBypassRoleIds | array<string> | Optional | Alias for bypassRoleIds. |
| requiredRoleIds | array<string> | Optional | Default guild role IDs required to enter giveaways. |
| defaultRequiredRoleIds | array<string> | Optional | Alias for requiredRoleIds. |
| defaultContainerBlocks | array<object> | Optional | Default Components V2 container blocks template. |
| defaultEmbedConfig | object | null | Optional | Default classic embed template configuration. |
Example
Preview configuring giveaway host roles and Components V2 default styling.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "configure_giveaways",
"arguments": {
"guildId": "1200000000000000000",
"mode": "preview",
"defaultStyle": "container_v2",
"accentColor": "#0052FF",
"hostRoleIds": [
"1300000000000000005"
]
}
}
}Response
Validated preview diff or saved giveaway guild defaults.
{
"mode": "preview",
"valid": true,
"summary": "Update Giveaways setup defaults (defaultDisplayMode, defaultAccentColor, defaultHostRoleIds)",
"defaultDisplayMode": "container"
}Errors
| Error Code | Condition | Resolution |
|---|---|---|
| UNAUTHORIZED | Missing, expired, or revoked Bearer access token or scoped Personal Access Token. | Re-authenticate through OAuth 2.1 or create a fresh token in https://mcp.taicket.xyz/account. |
| FORBIDDEN | Token lacks the required OAuth scope, the guild is outside allowedGuildIds, or caller lacks live Discord RBAC permissions. | Grant the required scope during consent or confirm your Discord server role permissions. |
| RATE_LIMITED | Caller exceeded the per-user sliding-window request limit. | Wait for the Retry-After window before issuing another request. |
| VALIDATION_ERROR | Input arguments failed Zod schema validation or contained invalid Discord snowflakes. | Inspect the parameter schema and supply valid Discord snowflake IDs and field types. |
| CROSS_GUILD_RESOURCE | A referenced channel, category, or role does not belong to the specified guildId. | Call get_server_topology for the target server and reference only resources returned for that guild. |
| DASHBOARD_ONLY | The requested privilege delegation, emergency lockdown, backup restore, live member action, or billing mutation is blocked over MCP. | Complete this operation directly on https://taicket.xyz using your Discord browser session. |
Behavior
- Reads and writes exclusively on the dedicated taicket_giveaways database.
- Verifies defaultChannelId and reviewVerificationChannelId against live Discord text channels in guildId.
- Verifies defaultPingRoleId and all host, bypass, and required role presets exist in guildId and are non-@everyone, non-managed roles.
- Validates all template image and media URLs as safe public HTTPS URLs and blocks live giveaway mutations with DASHBOARD_ONLY.