{ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Activity": { "properties": { "application_id": { "type": "string" }, "assets": { "properties": { "large_image": { "type": "string" }, "large_text": { "type": "string" }, "small_image": { "type": "string" }, "small_text": { "type": "string" } }, "type": "object" }, "created_at": { "format": "date-time", "type": "string" }, "details": { "type": "string" }, "emoji": { "properties": { "amimated": { "type": "boolean" }, "id": { "type": "string" }, "name": { "type": "string" } }, "type": "object" }, "flags": { "type": "bigint" }, "instance": { "type": "boolean" }, "name": { "type": "string" }, "party": { "properties": { "id": { "type": "string" }, "size": { "items": [ { "type": "number" }, { "type": "number" } ], "maxItems": 2, "minItems": 2, "type": "array" } }, "type": "object" }, "secrets": { "properties": { "join": { "type": "string" }, "match": { "type": "string" }, "spectate": { "type": "string" } }, "type": "object" }, "state": { "type": "string" }, "timestamps": { "items": { "properties": { "end": { "type": "number" }, "start": { "type": "number" } }, "type": "object" }, "type": "array" }, "type": { "$ref": "#/definitions/ActivityType" }, "url": { "type": "string" } }, "type": "object" }, "ActivityType": { "enum": [ 0, 1, 2, 4, 5 ], "type": "number" }, "AllowedMentions": { "properties": { "parse": { "items": { "enum": [ "everyone", "roles", "users" ], "type": "string" }, "type": "array" }, "replied_user": { "type": "boolean" }, "roles": { "items": { "type": "string" }, "type": "array" }, "users": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "Application": { "properties": { "bot_public": { "type": "boolean" }, "bot_require_code_grant": { "type": "boolean" }, "construct": { }, "cover_image": { "type": "string" }, "description": { "type": "string" }, "flags": { "type": "number" }, "guild": { "$ref": "#/definitions/Guild" }, "guild_id": { "type": "string" }, "icon": { "type": "string" }, "id": { "type": "string" }, "metadata": { }, "name": { "type": "string" }, "opts": { "properties": { "id": { "type": "string" } }, "type": "object" }, "owner_id": { "type": "string" }, "primary_sku_id": { "type": "string" }, "privacy_policy_url": { "type": "string" }, "rpc_origins": { "items": { "type": "string" }, "type": "array" }, "slug": { "type": "string" }, "summary": { "type": "string" }, "team": { "$ref": "#/definitions/Team" }, "team_id": { "type": "string" }, "terms_of_service_url": { "type": "string" }, "verify_key": { "type": "string" } }, "type": "object" }, "ApplicationCommand": { "properties": { "application_id": { "type": "string" }, "description": { "type": "string" }, "id": { "type": "string" }, "name": { "type": "string" }, "options": { "items": { "$ref": "#/definitions/ApplicationCommandOption" }, "type": "array" } }, "type": "object" }, "ApplicationCommandCreateEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "allOf": [ { "$ref": "#/definitions/ApplicationCommand" }, { "properties": { "guild_id": { "type": "string" } }, "type": "object" } ] }, "event": { "enum": [ "APPLICATION_COMMAND_CREATE" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "ApplicationCommandDeleteEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "allOf": [ { "$ref": "#/definitions/ApplicationCommand" }, { "properties": { "guild_id": { "type": "string" } }, "type": "object" } ] }, "event": { "enum": [ "APPLICATION_COMMAND_DELETE" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "ApplicationCommandInteractionData": { "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "options": { "items": { "$ref": "#/definitions/ApplicationCommandInteractionDataOption" }, "type": "array" } }, "type": "object" }, "ApplicationCommandInteractionDataOption": { "properties": { "name": { "type": "string" }, "options": { "items": { "$ref": "#/definitions/ApplicationCommandInteractionDataOption" }, "type": "array" }, "value": { } }, "type": "object" }, "ApplicationCommandOption": { "properties": { "choices": { "items": { "$ref": "#/definitions/ApplicationCommandOptionChoice" }, "type": "array" }, "description": { "type": "string" }, "name": { "type": "string" }, "options": { "items": { "$ref": "#/definitions/ApplicationCommandOption" }, "type": "array" }, "required": { "type": "boolean" }, "type": { "$ref": "#/definitions/ApplicationCommandOptionType" } }, "type": "object" }, "ApplicationCommandOptionChoice": { "properties": { "name": { "type": "string" }, "value": { "type": [ "string", "number" ] } }, "type": "object" }, "ApplicationCommandOptionType": { "enum": [ 1, 2, 3, 4, 5, 6, 7, 8 ], "type": "number" }, "ApplicationCommandPayload": { "allOf": [ { "$ref": "#/definitions/ApplicationCommand" }, { "properties": { "guild_id": { "type": "string" } }, "type": "object" } ] }, "ApplicationCommandUpdateEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "allOf": [ { "$ref": "#/definitions/ApplicationCommand" }, { "properties": { "guild_id": { "type": "string" } }, "type": "object" } ] }, "event": { "enum": [ "APPLICATION_COMMAND_UPDATE" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "Attachment": { "properties": { "content_type": { "type": "string" }, "filename": { "type": "string" }, "height": { "type": "number" }, "id": { "type": "string" }, "proxy_url": { "type": "string" }, "size": { "type": "number" }, "url": { "type": "string" }, "width": { "type": "number" } }, "type": "object" }, "AuditLogChange": { "properties": { "key": { "type": "string" }, "new_value": { "$ref": "#/definitions/AuditLogChangeValue" }, "old_value": { "$ref": "#/definitions/AuditLogChangeValue" } }, "type": "object" }, "AuditLogChangeValue": { "properties": { "$add": { "items": { "properties": { }, "type": "object" }, "type": "array" }, "$remove": { "items": { "properties": { }, "type": "object" }, "type": "array" }, "afk_channel_id": { "type": "string" }, "afk_timeout": { "type": "number" }, "allow": { "type": "string" }, "application_id": { "type": "string" }, "avatar_hash": { "type": "string" }, "banner_hash": { "type": "string" }, "bitrate": { "type": "number" }, "channel_id": { "type": "string" }, "code": { "type": "string" }, "color": { "type": "number" }, "deaf": { "type": "boolean" }, "default_message_notifications": { "type": "number" }, "deny": { "type": "string" }, "description": { "type": "string" }, "discovery_splash_hash": { "type": "string" }, "enable_emoticons": { "type": "boolean" }, "expire_behavior": { "type": "number" }, "expire_grace_period": { "type": "number" }, "explicit_content_filter": { "type": "number" }, "hoist": { "type": "boolean" }, "icon_hash": { "type": "string" }, "id": { "type": "string" }, "inviter_id": { "type": "string" }, "max_age": { "type": "number" }, "max_uses": { "type": "number" }, "mentionable": { "type": "boolean" }, "mfa_level": { "type": "number" }, "mute": { "type": "boolean" }, "name": { "type": "string" }, "nick": { "type": "string" }, "nsfw": { "type": "boolean" }, "owner_id": { "type": "string" }, "permission_overwrites": { "items": { "$ref": "#/definitions/ChannelPermissionOverwrite" }, "type": "array" }, "permissions": { "type": "string" }, "position": { "type": "number" }, "preferred_locale": { "type": "string" }, "prune_delete_days": { "type": "number" }, "public_updates_channel_id": { "type": "string" }, "rate_limit_per_user": { "type": "number" }, "region": { "type": "string" }, "rules_channel_id": { "type": "string" }, "splash_hash": { "type": "string" }, "system_channel_id": { "type": "string" }, "temporary": { "type": "boolean" }, "topic": { "type": "string" }, "type": { "type": "number" }, "user_limit": { "type": "number" }, "uses": { "type": "number" }, "vanity_url_code": { "type": "string" }, "verification_level": { "type": "number" }, "widget_channel_id": { "type": "string" }, "widget_enabled": { "type": "boolean" } }, "type": "object" }, "AuditLogEntry": { "properties": { "action_type": { "$ref": "#/definitions/AuditLogEvents" }, "changes": { "items": { "$ref": "#/definitions/AuditLogChange" }, "type": "array" }, "construct": { }, "id": { "type": "string" }, "metadata": { }, "options": { "properties": { "channel_id": { "type": "string" }, "count": { "type": "string" }, "delete_member_days": { "type": "string" }, "id": { "type": "string" }, "members_removed": { "type": "string" }, "messaged_id": { "type": "string" }, "role_name": { "type": "string" }, "type": { "type": "string" } }, "type": "object" }, "opts": { "properties": { "id": { "type": "string" } }, "type": "object" }, "reason": { "type": "string" }, "target": { "$ref": "#/definitions/User" }, "target_id": { "type": "string" }, "user": { "$ref": "#/definitions/User" }, "user_id": { "type": "string" } }, "type": "object" }, "AuditLogEvents": { "enum": [ 1, 10, 11, 12, 13, 14, 15, 20, 21, 22, 23, 24, 25, 26, 27, 28, 30, 31, 32, 40, 41, 42, 50, 51, 52, 60, 61, 62, 72, 73, 74, 75, 80, 81, 82 ], "type": "number" }, "Ban": { "properties": { "construct": { }, "executor": { "$ref": "#/definitions/User" }, "executor_id": { "type": "string" }, "guild": { "$ref": "#/definitions/Guild" }, "guild_id": { "type": "string" }, "id": { "type": "string" }, "ip": { "type": "string" }, "metadata": { }, "opts": { "properties": { "id": { "type": "string" } }, "type": "object" }, "reason": { "type": "string" }, "user": { "$ref": "#/definitions/User" }, "user_id": { "type": "string" } }, "type": "object" }, "BaseClass": { "properties": { "construct": { }, "id": { "type": "string" }, "metadata": { }, "opts": { "properties": { "id": { "type": "string" } }, "type": "object" } }, "type": "object" }, "BigInt": { "properties": { "__@toStringTag": { "enum": [ "BigInt" ], "type": "string" } }, "type": "object" }, "BitField": { "description": "Data structure that makes it easy to interact with a bitfield.", "properties": { "bitfield": { "type": "bigint" } }, "type": "object" }, "BitFieldResolvable": { "anyOf": [ { "$ref": "#/definitions/BigInt" }, { "$ref": "#/definitions/BitField" }, { "items": { "$ref": "#/definitions/BitFieldResolvable" }, "type": "array" }, { "type": [ "string", "number" ] } ] }, "CUSTOMEVENTS": { "enum": [ "INVALIDATED" ], "type": "string" }, "Channel": { "properties": { "bitrate": { "type": "number" }, "construct": { }, "created_at": { "format": "date-time", "type": "string" }, "default_auto_archive_duration": { "type": "number" }, "guild": { "$ref": "#/definitions/Guild" }, "guild_id": { "type": "string" }, "id": { "type": "string" }, "last_message": { "$ref": "#/definitions/Message" }, "last_message_id": { "type": "string" }, "last_pin_timestamp": { "type": "number" }, "metadata": { }, "name": { "type": "string" }, "nsfw": { "type": "boolean" }, "opts": { "properties": { "id": { "type": "string" } }, "type": "object" }, "owner": { "$ref": "#/definitions/User" }, "owner_id": { "type": "string" }, "parent": { "$ref": "#/definitions/Channel" }, "parent_id": { "type": "string" }, "permission_overwrites": { "items": { "$ref": "#/definitions/ChannelPermissionOverwrite" }, "type": "array" }, "position": { "type": "number" }, "rate_limit_per_user": { "type": "number" }, "recipient_ids": { "items": { "type": "string" }, "type": "array" }, "recipients": { "items": { "$ref": "#/definitions/User" }, "type": "array" }, "topic": { "type": "string" }, "type": { "$ref": "#/definitions/ChannelType" }, "user_limit": { "type": "number" }, "video_quality_mode": { "type": "number" } }, "type": "object" }, "ChannelCreateEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "$ref": "#/definitions/Channel" }, "event": { "enum": [ "CHANNEL_CREATE" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "ChannelDeleteEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "$ref": "#/definitions/Channel" }, "event": { "enum": [ "CHANNEL_DELETE" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "ChannelPermissionOverwrite": { "properties": { "allow": { "type": "bigint" }, "deny": { "type": "bigint" }, "id": { "type": "string" }, "type": { "$ref": "#/definitions/ChannelPermissionOverwriteType" } }, "type": "object" }, "ChannelPermissionOverwriteType": { "enum": [ 0, 1 ], "type": "number" }, "ChannelPinsUpdateEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "properties": { "channel_id": { "type": "string" }, "guild_id": { "type": "string" }, "last_pin_timestamp": { "type": "number" } }, "type": "object" }, "event": { "enum": [ "CHANNEL_PINS_UPDATE" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "ChannelType": { "enum": [ 0, 1, 2, 3, 4, 5, 6 ], "type": "number" }, "ChannelUpdateEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "$ref": "#/definitions/Channel" }, "event": { "enum": [ "CHANNEL_UPDATE" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "Channel_1": { "type": "object" }, "ClientStatus": { "properties": { "desktop": { "type": "string" }, "mobile": { "type": "string" }, "web": { "type": "string" } }, "type": "object" }, "ConfigEntity": { "properties": { "construct": { }, "id": { "type": "string" }, "metadata": { }, "opts": { "properties": { "id": { "type": "string" } }, "type": "object" }, "value": { "$ref": "#/definitions/ConfigValue" } }, "type": "object" }, "ConfigValue": { "properties": { "cdn": { "properties": { "endpoint": { "type": [ "null", "string" ] }, "endpointClient": { "type": [ "null", "string" ] } }, "type": "object" }, "gateway": { "properties": { "endpoint": { "type": [ "null", "string" ] }, "endpointClient": { "type": [ "null", "string" ] } }, "type": "object" }, "general": { "properties": { "instance_id": { "type": "string" } }, "type": "object" }, "kafka": { "properties": { "brokers": { "anyOf": [ { "items": { "$ref": "#/definitions/KafkaBroker" }, "type": "array" }, { "type": "null" } ] } }, "type": "object" }, "limits": { "properties": { "channel": { "properties": { "maxPins": { "type": "number" }, "maxTopic": { "type": "number" } }, "type": "object" }, "guild": { "properties": { "hideOfflineMember": { "type": "number" }, "maxChannels": { "type": "number" }, "maxChannelsInCategory": { "type": "number" }, "maxMembers": { "type": "number" }, "maxRoles": { "type": "number" } }, "type": "object" }, "message": { "properties": { "maxAttachmentSize": { "type": "number" }, "maxBulkDelete": { "type": "number" }, "maxCharacters": { "type": "number" }, "maxReactions": { "type": "number" }, "maxTTSCharacters": { "type": "number" } }, "type": "object" }, "rate": { "properties": { "error": { "$ref": "#/definitions/RateLimitOptions" }, "global": { "$ref": "#/definitions/RateLimitOptions" }, "ip": { "$ref": "#/definitions/Omit" }, "routes": { "properties": { "auth": { "properties": { "login": { "$ref": "#/definitions/RateLimitOptions" }, "register": { "$ref": "#/definitions/RateLimitOptions" } }, "type": "object" }, "channel": { "$ref": "#/definitions/RateLimitOptions" }, "guild": { "$ref": "#/definitions/RateLimitOptions" }, "webhook": { "$ref": "#/definitions/RateLimitOptions" } }, "type": "object" } }, "type": "object" }, "user": { "properties": { "maxFriends": { "type": "number" }, "maxGuilds": { "type": "number" }, "maxUsername": { "type": "number" } }, "type": "object" } }, "type": "object" }, "login": { "properties": { "requireCaptcha": { "type": "boolean" } }, "type": "object" }, "permissions": { "properties": { "user": { "properties": { "createGuilds": { "type": "boolean" } }, "type": "object" } }, "type": "object" }, "rabbitmq": { "properties": { "host": { "type": [ "null", "string" ] } }, "type": "object" }, "regions": { "properties": { "available": { "items": { "$ref": "#/definitions/Region" }, "type": "array" }, "default": { "type": "string" } }, "type": "object" }, "register": { "properties": { "allowMultipleAccounts": { "type": "boolean" }, "allowNewRegistration": { "type": "boolean" }, "blockProxies": { "type": "boolean" }, "dateOfBirth": { "properties": { "minimum": { "type": "number" }, "necessary": { "type": "boolean" } }, "type": "object" }, "email": { "properties": { "allowlist": { "type": "boolean" }, "blocklist": { "type": "boolean" }, "domains": { "items": { "type": "string" }, "type": "array" }, "necessary": { "type": "boolean" } }, "type": "object" }, "password": { "properties": { "minLength": { "type": "number" }, "minNumbers": { "type": "number" }, "minSymbols": { "type": "number" }, "minUpperCase": { "type": "number" } }, "type": "object" }, "requireCaptcha": { "type": "boolean" }, "requireInvite": { "type": "boolean" } }, "type": "object" }, "security": { "properties": { "autoUpdate": { "type": [ "number", "boolean" ] }, "captcha": { "properties": { "enabled": { "type": "boolean" }, "secret": { "type": [ "null", "string" ] }, "service": { "anyOf": [ { "enum": [ "hcaptcha", "recaptcha" ], "type": "string" }, { "type": "null" } ] }, "sitekey": { "type": [ "null", "string" ] } }, "type": "object" }, "forwadedFor": { "type": [ "null", "string" ] }, "ipdataApiKey": { "type": [ "null", "string" ] }, "jwtSecret": { "type": "string" }, "requestSignature": { "type": "string" } }, "type": "object" } }, "type": "object" }, "ConnectedAccount": { "properties": { "access_token": { "type": "string" }, "construct": { }, "friend_sync": { "type": "boolean" }, "id": { "type": "string" }, "metadata": { }, "name": { "type": "string" }, "opts": { "properties": { "id": { "type": "string" } }, "type": "object" }, "revoked": { "type": "boolean" }, "show_activity": { "type": "boolean" }, "type": { "type": "string" }, "verifie": { "type": "boolean" }, "visibility": { "type": "number" } }, "type": "object" }, "EVENT": { "enum": [ "APPLICATION_COMMAND_CREATE", "APPLICATION_COMMAND_DELETE", "APPLICATION_COMMAND_UPDATE", "CHANNEL_CREATE", "CHANNEL_DELETE", "CHANNEL_PINS_UPDATE", "CHANNEL_UPDATE", "GUILD_BAN_ADD", "GUILD_BAN_REMOVE", "GUILD_CREATE", "GUILD_DELETE", "GUILD_EMOJI_UPDATE", "GUILD_INTEGRATIONS_UPDATE", "GUILD_MEMBERS_CHUNK", "GUILD_MEMBER_ADD", "GUILD_MEMBER_REMOVE", "GUILD_MEMBER_SPEAKING", "GUILD_MEMBER_UPDATE", "GUILD_ROLE_CREATE", "GUILD_ROLE_DELETE", "GUILD_ROLE_UPDATE", "GUILD_UPDATE", "INTERACTION_CREATE", "INVALIDATED", "INVITE_CREATE", "INVITE_DELETE", "MESSAGE_ACK", "MESSAGE_CREATE", "MESSAGE_DELETE", "MESSAGE_DELETE_BULK", "MESSAGE_REACTION_ADD", "MESSAGE_REACTION_REMOVE", "MESSAGE_REACTION_REMOVE_ALL", "MESSAGE_REACTION_REMOVE_EMOJI", "MESSAGE_UPDATE", "PRESENCE_UPDATE", "READY", "RELATIONSHIP_ADD", "RELATIONSHIP_REMOVE", "TYPING_START", "USER_UPDATE", "VOICE_SERVER_UPDATE", "VOICE_STATE_UPDATE", "WEBHOOKS_UPDATE" ], "type": "string" }, "EVENTEnum": { "enum": [ "APPLICATION_COMMAND_CREATE", "APPLICATION_COMMAND_DELETE", "APPLICATION_COMMAND_UPDATE", "CHANNEL_CREATE", "CHANNEL_DELETE", "CHANNEL_PINS_UPDATE", "CHANNEL_UPDATE", "GUILD_BAN_ADD", "GUILD_BAN_REMOVE", "GUILD_CREATE", "GUILD_DELETE", "GUILD_EMOJI_UPDATE", "GUILD_INTEGRATIONS_UPDATE", "GUILD_MEMBERS_CHUNK", "GUILD_MEMBER_ADD", "GUILD_MEMBER_REMOVE", "GUILD_MEMBER_SPEAKING", "GUILD_MEMBER_UPDATE", "GUILD_ROLE_CREATE", "GUILD_ROLE_DELETE", "GUILD_ROLE_UPDATE", "GUILD_UPDATE", "INTERACTION_CREATE", "INVITE_CREATE", "INVITE_DELETE", "MESSAGE_CREATE", "MESSAGE_DELETE", "MESSAGE_DELETE_BULK", "MESSAGE_REACTION_ADD", "MESSAGE_REACTION_REMOVE", "MESSAGE_REACTION_REMOVE_ALL", "MESSAGE_REACTION_REMOVE_EMOJI", "MESSAGE_UPDATE", "PRESENCE_UPDATE", "READY", "TYPING_START", "USER_UPDATE", "VOICE_SERVER_UPDATE", "VOICE_STATE_UPDATE", "WEBHOOKS_UPDATE" ], "type": "string" }, "Embed": { "properties": { "author": { "properties": { "icon_url": { "type": "string" }, "name": { "type": "string" }, "proxy_icon_url": { "type": "string" }, "url": { "type": "string" } }, "type": "object" }, "color": { "type": "number" }, "description": { "type": "string" }, "fields": { "items": { "properties": { "inline": { "type": "boolean" }, "name": { "type": "string" }, "value": { "type": "string" } }, "type": "object" }, "type": "array" }, "footer": { "properties": { "icon_url": { "type": "string" }, "proxy_icon_url": { "type": "string" }, "text": { "type": "string" } }, "type": "object" }, "image": { "$ref": "#/definitions/EmbedImage" }, "provider": { "properties": { "name": { "type": "string" }, "url": { "type": "string" } }, "type": "object" }, "thumbnail": { "$ref": "#/definitions/EmbedImage" }, "timestamp": { "format": "date-time", "type": "string" }, "title": { "type": "string" }, "type": { "enum": [ "article", "gifv", "image", "link", "rich", "video" ], "type": "string" }, "url": { "type": "string" }, "video": { "$ref": "#/definitions/EmbedImage" } }, "type": "object" }, "EmbedImage": { "properties": { "height": { "type": "number" }, "proxy_url": { "type": "string" }, "url": { "type": "string" }, "width": { "type": "number" } }, "type": "object" }, "EmbedType": { "enum": [ "article", "gifv", "image", "link", "rich", "video" ], "type": "string" }, "Emoji": { "properties": { "animated": { "type": "boolean" }, "available": { "type": "boolean" }, "construct": { }, "guild": { "$ref": "#/definitions/Guild" }, "guild_id": { "type": "string" }, "id": { "type": "string" }, "managed": { "type": "boolean" }, "metadata": { }, "name": { "type": "string" }, "opts": { "properties": { "id": { "type": "string" } }, "type": "object" }, "require_colons": { "type": "boolean" }, "role_ids": { "items": { "type": "string" }, "type": "array" }, "roles": { "items": { "$ref": "#/definitions/Role" }, "type": "array" }, "url": { "type": "string" } }, "type": "object" }, "Event": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { }, "event": { "$ref": "#/definitions/EVENT" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "EventOpts": { "properties": { "acknowledge": { "$ref": "#/definitions/Function" }, "cancel": { "$ref": "#/definitions/Function" }, "channel": { "$ref": "#/definitions/Channel_1" }, "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { }, "event": { "$ref": "#/definitions/EVENT" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "Function": { "properties": { "arguments": { }, "caller": { "$ref": "#/definitions/Function" }, "length": { "type": "number" }, "name": { "type": "string" }, "prototype": { } }, "type": "object" }, "Guild": { "properties": { "afk_channel": { "$ref": "#/definitions/Channel" }, "afk_channel_id": { "type": "string" }, "afk_timeout": { "type": "number" }, "banner": { "type": "string" }, "channel_ids": { "items": { "type": "string" }, "type": "array" }, "channels": { "items": { "$ref": "#/definitions/Channel" }, "type": "array" }, "construct": { }, "default_message_notifications": { "type": "number" }, "description": { "type": "string" }, "discovery_splash": { "type": "string" }, "emoji_ids": { "items": { "type": "string" }, "type": "array" }, "emojis": { "items": { "$ref": "#/definitions/Emoji" }, "type": "array" }, "explicit_content_filter": { "type": "number" }, "features": { "items": { "type": "string" }, "type": "array" }, "icon": { "type": "string" }, "id": { "type": "string" }, "large": { "type": "boolean" }, "max_members": { "type": "number" }, "max_presences": { "type": "number" }, "max_video_channel_users": { "type": "number" }, "member_count": { "type": "number" }, "member_ids": { "items": { "type": "string" }, "type": "array" }, "members": { "items": { "$ref": "#/definitions/Member" }, "type": "array" }, "metadata": { }, "mfa_level": { "type": "number" }, "name": { "type": "string" }, "opts": { "properties": { "id": { "type": "string" } }, "type": "object" }, "owner": { "$ref": "#/definitions/User" }, "owner_id": { "type": "string" }, "preferred_locale": { "type": "string" }, "premium_subscription_count": { "type": "number" }, "premium_tier": { "type": "number" }, "presence_count": { "type": "number" }, "public_updates_channel": { "$ref": "#/definitions/Channel" }, "public_updates_channel_id": { "type": "string" }, "region": { "type": "string" }, "role_ids": { "items": { "type": "string" }, "type": "array" }, "roles": { "items": { "$ref": "#/definitions/Role" }, "type": "array" }, "rules_channel": { "type": "string" }, "rules_channel_id": { "type": "string" }, "splash": { "type": "string" }, "system_channel": { "$ref": "#/definitions/Channel" }, "system_channel_flags": { "type": "number" }, "system_channel_id": { "type": "string" }, "unavailable": { "type": "boolean" }, "vanity_url": { "$ref": "#/definitions/Invite" }, "vanity_url_code": { "type": "string" }, "verification_level": { "type": "number" }, "voice_state_ids": { "items": { "type": "string" }, "type": "array" }, "voice_states": { "items": { "$ref": "#/definitions/VoiceState" }, "type": "array" }, "welcome_screen": { "properties": { "description": { "type": "string" }, "enabled": { "type": "boolean" }, "welcome_channels": { "items": { "properties": { "channel_id": { "type": "string" }, "description": { "type": "string" }, "emoji_id": { "type": "string" }, "emoji_name": { "type": "string" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "widget_channel": { "$ref": "#/definitions/Channel" }, "widget_channel_id": { "type": "string" }, "widget_enabled": { "type": "boolean" } }, "type": "object" }, "GuildBanAddEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "properties": { "guild_id": { "type": "string" }, "user": { "$ref": "#/definitions/User" } }, "type": "object" }, "event": { "enum": [ "GUILD_BAN_ADD" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "GuildBanRemoveEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "properties": { "guild_id": { "type": "string" }, "user": { "$ref": "#/definitions/User" } }, "type": "object" }, "event": { "enum": [ "GUILD_BAN_REMOVE" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "GuildCreateEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "$ref": "#/definitions/Guild" }, "event": { "enum": [ "GUILD_CREATE" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "GuildDeleteEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "properties": { "id": { "type": "string" }, "unavailable": { "type": "boolean" } }, "type": "object" }, "event": { "enum": [ "GUILD_DELETE" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "GuildEmojiUpdateEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "properties": { "emojis": { "items": { "$ref": "#/definitions/Emoji" }, "type": "array" }, "guild_id": { "type": "string" } }, "type": "object" }, "event": { "enum": [ "GUILD_EMOJI_UPDATE" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "GuildIntegrationUpdateEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "properties": { "guild_id": { "type": "string" } }, "type": "object" }, "event": { "enum": [ "GUILD_INTEGRATIONS_UPDATE" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "GuildMemberAddEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "allOf": [ { "$ref": "#/definitions/PublicMember" }, { "properties": { "guild_id": { "type": "string" } }, "type": "object" } ] }, "event": { "enum": [ "GUILD_MEMBER_ADD" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "GuildMemberRemoveEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "properties": { "guild_id": { "type": "string" }, "user": { "$ref": "#/definitions/User" } }, "type": "object" }, "event": { "enum": [ "GUILD_MEMBER_REMOVE" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "GuildMemberUpdateEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "properties": { "guild_id": { "type": "string" }, "joined_at": { "format": "date-time", "type": "string" }, "nick": { "type": "string" }, "pending": { "type": "boolean" }, "premium_since": { "type": "number" }, "roles": { "items": { "type": "string" }, "type": "array" }, "user": { "$ref": "#/definitions/User" } }, "type": "object" }, "event": { "enum": [ "GUILD_MEMBER_UPDATE" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "GuildMembersChunkEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "properties": { "chunk_count": { "type": "number" }, "chunk_index": { "type": "number" }, "guild_id": { "type": "string" }, "members": { "items": { "$ref": "#/definitions/PublicMember" }, "type": "array" }, "nonce": { "type": "string" }, "not_found": { "items": { "type": "string" }, "type": "array" }, "presences": { "items": { "$ref": "#/definitions/Presence" }, "type": "array" } }, "type": "object" }, "event": { "enum": [ "GUILD_MEMBERS_CHUNK" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "GuildRoleCreateEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "properties": { "guild_id": { "type": "string" }, "role": { "$ref": "#/definitions/Role" } }, "type": "object" }, "event": { "enum": [ "GUILD_ROLE_CREATE" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "GuildRoleDeleteEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "properties": { "guild_id": { "type": "string" }, "role_id": { "type": "string" } }, "type": "object" }, "event": { "enum": [ "GUILD_ROLE_DELETE" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "GuildRoleUpdateEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "properties": { "guild_id": { "type": "string" }, "role": { "$ref": "#/definitions/Role" } }, "type": "object" }, "event": { "enum": [ "GUILD_ROLE_UPDATE" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "GuildUpdateEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "$ref": "#/definitions/Guild" }, "event": { "enum": [ "GUILD_UPDATE" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "Intents": { "properties": { "bitfield": { "type": "bigint" } }, "type": "object" }, "Interaction": { "properties": { "channel_id": { "type": "string" }, "data": { "properties": { }, "type": "object" }, "guild_id": { "type": "string" }, "id": { "type": "string" }, "member_id": { "type": "string" }, "token": { "type": "string" }, "type": { "$ref": "#/definitions/InteractionType" }, "version": { "type": "number" } }, "type": "object" }, "InteractionApplicationCommandCallbackData": { "properties": { "allowed_mentions": { "$ref": "#/definitions/AllowedMentions" }, "content": { "type": "string" }, "embeds": { "items": { "$ref": "#/definitions/Embed" }, "type": "array" }, "tts": { "type": "boolean" } }, "type": "object" }, "InteractionCreateEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "$ref": "#/definitions/Interaction" }, "event": { "enum": [ "INTERACTION_CREATE" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "InteractionResponseType": { "enum": [ 1, 2, 3, 4, 5 ], "type": "number" }, "InteractionType": { "enum": [ 1, 2 ], "type": "number" }, "InvalidatedEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { }, "event": { "enum": [ "INVALIDATED" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "Invite": { "properties": { "channel": { "$ref": "#/definitions/Channel" }, "channel_id": { "type": "string" }, "code": { "type": "string" }, "construct": { }, "created_at": { "format": "date-time", "type": "string" }, "expires_at": { "format": "date-time", "type": "string" }, "guild": { "$ref": "#/definitions/Guild" }, "guild_id": { "type": "string" }, "id": { "type": "string" }, "inviter": { "$ref": "#/definitions/User" }, "inviter_id": { "type": "string" }, "max_age": { "type": "number" }, "max_uses": { "type": "number" }, "metadata": { }, "opts": { "properties": { "id": { "type": "string" } }, "type": "object" }, "target_user": { "type": "string" }, "target_user_id": { "type": "string" }, "target_user_type": { "type": "number" }, "temporary": { "type": "boolean" }, "uses": { "type": "number" } }, "type": "object" }, "InviteCreateEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "allOf": [ { "$ref": "#/definitions/Omit" }, { "properties": { "channel_id": { "type": "string" }, "guild_id": { "type": "string" } }, "type": "object" } ] }, "event": { "enum": [ "INVITE_CREATE" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "InviteDeleteEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "properties": { "channel_id": { "type": "string" }, "code": { "type": "string" }, "guild_id": { "type": "string" } }, "type": "object" }, "event": { "enum": [ "INVITE_DELETE" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "KafkaBroker": { "properties": { "ip": { "type": "string" }, "port": { "type": "number" } }, "type": "object" }, "ListenEventOpts": { "properties": { "acknowledge": { "type": "boolean" }, "channel": { "$ref": "#/definitions/Channel_1" } }, "type": "object" }, "Member": { "properties": { "construct": { }, "deaf": { "type": "boolean" }, "guild": { "$ref": "#/definitions/Guild" }, "guild_id": { "type": "string" }, "id": { "type": "string" }, "joined_at": { "format": "date-time", "type": "string" }, "metadata": { }, "mute": { "type": "boolean" }, "nick": { "type": "string" }, "opts": { "properties": { "id": { "type": "string" } }, "type": "object" }, "pending": { "type": "boolean" }, "premium_since": { "type": "number" }, "read_state": { "$ref": "#/definitions/Record" }, "roles": { "items": { "type": "string" }, "type": "array" }, "settings": { "$ref": "#/definitions/UserGuildSettings" }, "user": { "$ref": "#/definitions/User" }, "user_id": { "type": "string" } }, "type": "object" }, "Message": { "properties": { "activity": { "properties": { "party_id": { "type": "string" }, "type": { "type": "number" } }, "type": "object" }, "application": { "$ref": "#/definitions/Application" }, "application_id": { "type": "string" }, "attachments": { "items": { "$ref": "#/definitions/Attachment" }, "type": "array" }, "author": { "$ref": "#/definitions/User" }, "author_id": { "type": "string" }, "channel": { "$ref": "#/definitions/Channel" }, "channel_id": { "type": "string" }, "components": { "items": { "$ref": "#/definitions/MessageComponent" }, "type": "array" }, "construct": { }, "content": { "type": "string" }, "edited_timestamp": { "format": "date-time", "type": "string" }, "embeds": { "items": { "$ref": "#/definitions/Embed" }, "type": "array" }, "flags": { "type": "bigint" }, "guild": { "$ref": "#/definitions/Guild" }, "guild_id": { "type": "string" }, "id": { "type": "string" }, "interaction": { "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "type": { "$ref": "#/definitions/InteractionType" }, "user_id": { "type": "string" } }, "type": "object" }, "member": { "$ref": "#/definitions/Member" }, "member_id": { "type": "string" }, "mention_channel_ids": { "items": { "type": "string" }, "type": "array" }, "mention_channels": { "items": { "$ref": "#/definitions/Channel" }, "type": "array" }, "mention_everyone": { "type": "boolean" }, "mention_role_ids": { "items": { "type": "string" }, "type": "array" }, "mention_roles": { "items": { "$ref": "#/definitions/Role" }, "type": "array" }, "mention_user_ids": { "items": { "type": "string" }, "type": "array" }, "mention_users": { "items": { "$ref": "#/definitions/User" }, "type": "array" }, "message_reference": { "properties": { "channel_id": { "type": "string" }, "guild_id": { "type": "string" }, "message_id": { "type": "string" } }, "type": "object" }, "metadata": { }, "nonce": { "type": [ "string", "number" ] }, "opts": { "properties": { "id": { "type": "string" } }, "type": "object" }, "pinned": { "type": "boolean" }, "reactions": { "items": { "$ref": "#/definitions/Reaction" }, "type": "array" }, "stickers": { "items": { }, "type": "array" }, "timestamp": { "format": "date-time", "type": "string" }, "tts": { "type": "boolean" }, "type": { "$ref": "#/definitions/MessageType" }, "webhook": { "$ref": "#/definitions/Webhook" }, "webhook_id": { "type": "string" } }, "type": "object" }, "MessageAckEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "properties": { "channel_id": { "type": "string" }, "manual": { "type": "boolean" }, "mention_count": { "type": "number" }, "message_id": { "type": "string" }, "version": { "type": "number" } }, "type": "object" }, "event": { "enum": [ "MESSAGE_ACK" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "MessageComponent": { "properties": { "components": { "items": { "$ref": "#/definitions/MessageComponent" }, "type": "array" }, "custom_id": { "type": "string" }, "disabled": { "type": "boolean" }, "emoji": { "$ref": "#/definitions/PartialEmoji" }, "label": { "type": "string" }, "style": { "type": "number" }, "type": { "type": "number" }, "url": { "type": "string" } }, "type": "object" }, "MessageComponentType": { "enum": [ 1, 2 ], "type": "number" }, "MessageCreateEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "allOf": [ { "$ref": "#/definitions/Omit" }, { "properties": { "author": { "$ref": "#/definitions/PublicUser" }, "channel_id": { "type": "string" }, "guild_id": { "type": "string" }, "member": { "$ref": "#/definitions/PublicMember" }, "mentions": { "items": { "allOf": [ { "$ref": "#/definitions/PublicUser" }, { "properties": { "member": { "$ref": "#/definitions/PublicMember" } }, "type": "object" } ] }, "type": "array" } }, "type": "object" } ] }, "event": { "enum": [ "MESSAGE_CREATE" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "MessageDeleteBulkEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "properties": { "channel_id": { "type": "string" }, "guild_id": { "type": "string" }, "ids": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "event": { "enum": [ "MESSAGE_DELETE_BULK" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "MessageDeleteEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "properties": { "channel_id": { "type": "string" }, "guild_id": { "type": "string" }, "id": { "type": "string" } }, "type": "object" }, "event": { "enum": [ "MESSAGE_DELETE" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "MessageFlags": { "properties": { "bitfield": { "type": "bigint" } }, "type": "object" }, "MessagePayload": { "allOf": [ { "$ref": "#/definitions/Omit" }, { "properties": { "author": { "$ref": "#/definitions/PublicUser" }, "channel_id": { "type": "string" }, "guild_id": { "type": "string" }, "member": { "$ref": "#/definitions/PublicMember" }, "mentions": { "items": { "allOf": [ { "$ref": "#/definitions/PublicUser" }, { "properties": { "member": { "$ref": "#/definitions/PublicMember" } }, "type": "object" } ] }, "type": "array" } }, "type": "object" } ] }, "MessageReactionAddEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "properties": { "channel_id": { "type": "string" }, "emoji": { "$ref": "#/definitions/PartialEmoji" }, "guild_id": { "type": "string" }, "member": { "$ref": "#/definitions/PublicMember" }, "message_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "event": { "enum": [ "MESSAGE_REACTION_ADD" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "MessageReactionRemoveAllEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "properties": { "channel_id": { "type": "string" }, "guild_id": { "type": "string" }, "message_id": { "type": "string" } }, "type": "object" }, "event": { "enum": [ "MESSAGE_REACTION_REMOVE_ALL" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "MessageReactionRemoveEmojiEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "properties": { "channel_id": { "type": "string" }, "emoji": { "$ref": "#/definitions/PartialEmoji" }, "guild_id": { "type": "string" }, "message_id": { "type": "string" } }, "type": "object" }, "event": { "enum": [ "MESSAGE_REACTION_REMOVE_EMOJI" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "MessageReactionRemoveEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "properties": { "channel_id": { "type": "string" }, "emoji": { "$ref": "#/definitions/PartialEmoji" }, "guild_id": { "type": "string" }, "message_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "event": { "enum": [ "MESSAGE_REACTION_REMOVE" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "MessageType": { "enum": [ 0, 1, 10, 11, 12, 14, 15, 19, 2, 20, 3, 4, 5, 6, 7, 8, 9 ], "type": "number" }, "MessageUpdateEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "allOf": [ { "$ref": "#/definitions/Omit" }, { "properties": { "author": { "$ref": "#/definitions/PublicUser" }, "channel_id": { "type": "string" }, "guild_id": { "type": "string" }, "member": { "$ref": "#/definitions/PublicMember" }, "mentions": { "items": { "allOf": [ { "$ref": "#/definitions/PublicUser" }, { "properties": { "member": { "$ref": "#/definitions/PublicMember" } }, "type": "object" } ] }, "type": "array" } }, "type": "object" } ] }, "event": { "enum": [ "MESSAGE_UPDATE" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "MuteConfig": { "properties": { "end_time": { "type": "number" }, "selected_time_window": { "type": "number" } }, "type": "object" }, "Omit": { "properties": { "assign": { "type": "object" }, "channel_id": { "type": "string" }, "code": { "type": "string" }, "construct": { }, "created_at": { "format": "date-time", "type": "string" }, "expires_at": { "format": "date-time", "type": "string" }, "guild_id": { "type": "string" }, "hasId": { "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.", "type": "object" }, "id": { "type": "string" }, "inviter": { "$ref": "#/definitions/User" }, "inviter_id": { "type": "string" }, "max_age": { "type": "number" }, "max_uses": { "type": "number" }, "metadata": { }, "opts": { "properties": { "id": { "type": "string" } }, "type": "object" }, "recover": { "description": "Recovers a given entity in the database.", "type": "object" }, "reload": { "description": "Reloads entity data from the database.", "type": "object" }, "remove": { "description": "Removes current entity from the database.", "type": "object" }, "save": { "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.", "type": "object" }, "softRemove": { "description": "Records the delete date of current entity.", "type": "object" }, "target_user": { "type": "string" }, "target_user_id": { "type": "string" }, "target_user_type": { "type": "number" }, "temporary": { "type": "boolean" }, "toJSON": { "type": "object" }, "uses": { "type": "number" }, "validate": { "type": "object" } }, "type": "object" }, "Omit": { "properties": { "assign": { "type": "object" }, "construct": { }, "deaf": { "type": "boolean" }, "guild": { "$ref": "#/definitions/Guild" }, "guild_id": { "type": "string" }, "hasId": { "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.", "type": "object" }, "id": { "type": "string" }, "joined_at": { "format": "date-time", "type": "string" }, "metadata": { }, "mute": { "type": "boolean" }, "nick": { "type": "string" }, "opts": { "properties": { "id": { "type": "string" } }, "type": "object" }, "pending": { "type": "boolean" }, "premium_since": { "type": "number" }, "read_state": { "$ref": "#/definitions/Record" }, "recover": { "description": "Recovers a given entity in the database.", "type": "object" }, "reload": { "description": "Reloads entity data from the database.", "type": "object" }, "remove": { "description": "Removes current entity from the database.", "type": "object" }, "roles": { "items": { "type": "string" }, "type": "array" }, "save": { "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.", "type": "object" }, "softRemove": { "description": "Records the delete date of current entity.", "type": "object" }, "toJSON": { "type": "object" }, "user_id": { "type": "string" }, "validate": { "type": "object" } }, "type": "object" }, "Omit": { "properties": { "activity": { "properties": { "party_id": { "type": "string" }, "type": { "type": "number" } }, "type": "object" }, "application": { "$ref": "#/definitions/Application" }, "application_id": { "type": "string" }, "assign": { "type": "object" }, "attachments": { "items": { "$ref": "#/definitions/Attachment" }, "type": "array" }, "author": { "$ref": "#/definitions/User" }, "channel": { "$ref": "#/definitions/Channel" }, "channel_id": { "type": "string" }, "components": { "items": { "$ref": "#/definitions/MessageComponent" }, "type": "array" }, "construct": { }, "content": { "type": "string" }, "edited_timestamp": { "format": "date-time", "type": "string" }, "embeds": { "items": { "$ref": "#/definitions/Embed" }, "type": "array" }, "flags": { "type": "bigint" }, "guild": { "$ref": "#/definitions/Guild" }, "guild_id": { "type": "string" }, "hasId": { "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.", "type": "object" }, "id": { "type": "string" }, "interaction": { "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "type": { "$ref": "#/definitions/InteractionType" }, "user_id": { "type": "string" } }, "type": "object" }, "member": { "$ref": "#/definitions/Member" }, "member_id": { "type": "string" }, "mention_channel_ids": { "items": { "type": "string" }, "type": "array" }, "mention_channels": { "items": { "$ref": "#/definitions/Channel" }, "type": "array" }, "mention_everyone": { "type": "boolean" }, "mention_role_ids": { "items": { "type": "string" }, "type": "array" }, "mention_roles": { "items": { "$ref": "#/definitions/Role" }, "type": "array" }, "mention_user_ids": { "items": { "type": "string" }, "type": "array" }, "mention_users": { "items": { "$ref": "#/definitions/User" }, "type": "array" }, "message_reference": { "properties": { "channel_id": { "type": "string" }, "guild_id": { "type": "string" }, "message_id": { "type": "string" } }, "type": "object" }, "metadata": { }, "nonce": { "type": [ "string", "number" ] }, "opts": { "properties": { "id": { "type": "string" } }, "type": "object" }, "pinned": { "type": "boolean" }, "reactions": { "items": { "$ref": "#/definitions/Reaction" }, "type": "array" }, "recover": { "description": "Recovers a given entity in the database.", "type": "object" }, "reload": { "description": "Reloads entity data from the database.", "type": "object" }, "remove": { "description": "Removes current entity from the database.", "type": "object" }, "save": { "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.", "type": "object" }, "softRemove": { "description": "Records the delete date of current entity.", "type": "object" }, "stickers": { "items": { }, "type": "array" }, "timestamp": { "format": "date-time", "type": "string" }, "toJSON": { "type": "object" }, "tts": { "type": "boolean" }, "type": { "$ref": "#/definitions/MessageType" }, "validate": { "type": "object" }, "webhook": { "$ref": "#/definitions/Webhook" }, "webhook_id": { "type": "string" } }, "type": "object" }, "Omit": { "properties": { "bot": { "type": "number" }, "count": { "type": "number" }, "onyIp": { "type": "boolean" }, "window": { "type": "number" } }, "type": "object" }, "Omit": { "properties": { "assign": { "type": "object" }, "construct": { }, "hasId": { "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.", "type": "object" }, "id": { "type": "string" }, "metadata": { }, "opts": { "properties": { "id": { "type": "string" } }, "type": "object" }, "recover": { "description": "Recovers a given entity in the database.", "type": "object" }, "reload": { "description": "Reloads entity data from the database.", "type": "object" }, "remove": { "description": "Removes current entity from the database.", "type": "object" }, "save": { "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.", "type": "object" }, "softRemove": { "description": "Records the delete date of current entity.", "type": "object" }, "toJSON": { "type": "object" }, "type": { "$ref": "#/definitions/RelationshipType" }, "user": { "$ref": "#/definitions/User" }, "user_id": { "type": "string" }, "validate": { "type": "object" } }, "type": "object" }, "PartialEmoji": { "properties": { "animated": { "type": "boolean" }, "id": { "type": "string" }, "name": { "type": "string" } }, "type": "object" }, "PermissionCache": { "properties": { "channel": { "anyOf": [ { "$ref": "#/definitions/Channel" }, { "type": "null" } ] }, "guild": { "anyOf": [ { "$ref": "#/definitions/Guild" }, { "type": "null" } ] }, "member": { "anyOf": [ { "$ref": "#/definitions/Member" }, { "type": "null" } ] }, "roles": { "anyOf": [ { "items": { "$ref": "#/definitions/Role" }, "type": "array" }, { "type": "null" } ] }, "user_id": { "type": "string" } }, "type": "object" }, "PermissionResolvable": { "anyOf": [ { "$ref": "#/definitions/Permissions" }, { "items": { "$ref": "#/definitions/PermissionResolvable" }, "type": "array" }, { "enum": [ "ADD_REACTIONS", "ADMINISTRATOR", "ATTACH_FILES", "BAN_MEMBERS", "CHANGE_NICKNAME", "CONNECT", "CREATE_INSTANT_INVITE", "DEAFEN_MEMBERS", "EMBED_LINKS", "KICK_MEMBERS", "MANAGE_CHANNELS", "MANAGE_EMOJIS_AND_STICKERS", "MANAGE_GUILD", "MANAGE_MESSAGES", "MANAGE_NICKNAMES", "MANAGE_ROLES", "MANAGE_WEBHOOKS", "MENTION_EVERYONE", "MOVE_MEMBERS", "MUTE_MEMBERS", "PRIORITY_SPEAKER", "READ_MESSAGE_HISTORY", "SEND_MESSAGES", "SEND_TTS_MESSAGES", "SPEAK", "STREAM", "USE_EXTERNAL_EMOJIS", "USE_VAD", "VIEW_AUDIT_LOG", "VIEW_CHANNEL", "VIEW_GUILD_INSIGHTS" ], "type": "string" }, { "type": [ "number", "bigint" ] } ] }, "PermissionString": { "enum": [ "ADD_REACTIONS", "ADMINISTRATOR", "ATTACH_FILES", "BAN_MEMBERS", "CHANGE_NICKNAME", "CONNECT", "CREATE_INSTANT_INVITE", "DEAFEN_MEMBERS", "EMBED_LINKS", "KICK_MEMBERS", "MANAGE_CHANNELS", "MANAGE_EMOJIS_AND_STICKERS", "MANAGE_GUILD", "MANAGE_MESSAGES", "MANAGE_NICKNAMES", "MANAGE_ROLES", "MANAGE_WEBHOOKS", "MENTION_EVERYONE", "MOVE_MEMBERS", "MUTE_MEMBERS", "PRIORITY_SPEAKER", "READ_MESSAGE_HISTORY", "SEND_MESSAGES", "SEND_TTS_MESSAGES", "SPEAK", "STREAM", "USE_EXTERNAL_EMOJIS", "USE_VAD", "VIEW_AUDIT_LOG", "VIEW_CHANNEL", "VIEW_GUILD_INSIGHTS" ], "type": "string" }, "Permissions": { "properties": { "bitfield": { "type": "bigint" }, "cache": { "properties": { "channel": { "anyOf": [ { "$ref": "#/definitions/Channel" }, { "type": "null" } ] }, "guild": { "anyOf": [ { "$ref": "#/definitions/Guild" }, { "type": "null" } ] }, "member": { "anyOf": [ { "$ref": "#/definitions/Member" }, { "type": "null" } ] }, "roles": { "anyOf": [ { "items": { "$ref": "#/definitions/Role" }, "type": "array" }, { "type": "null" } ] }, "user_id": { "type": "string" } }, "type": "object" } }, "type": "object" }, "Presence": { "properties": { "activities": { "items": { "$ref": "#/definitions/Activity" }, "type": "array" }, "client_status": { "$ref": "#/definitions/ClientStatus" }, "guild_id": { "type": "string" }, "status": { "$ref": "#/definitions/Status" }, "user_id": { "type": "string" } }, "type": "object" }, "PresenceUpdateEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "$ref": "#/definitions/Presence" }, "event": { "enum": [ "PRESENCE_UPDATE" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "PublicMember": { "properties": { "assign": { "type": "object" }, "construct": { }, "deaf": { "type": "boolean" }, "guild": { "$ref": "#/definitions/Guild" }, "guild_id": { "type": "string" }, "hasId": { "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.", "type": "object" }, "joined_at": { "format": "date-time", "type": "string" }, "metadata": { }, "mute": { "type": "boolean" }, "nick": { "type": "string" }, "opts": { "properties": { "id": { "type": "string" } }, "type": "object" }, "pending": { "type": "boolean" }, "premium_since": { "type": "number" }, "recover": { "description": "Recovers a given entity in the database.", "type": "object" }, "reload": { "description": "Reloads entity data from the database.", "type": "object" }, "remove": { "description": "Removes current entity from the database.", "type": "object" }, "roles": { "items": { "type": "string" }, "type": "array" }, "save": { "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.", "type": "object" }, "softRemove": { "description": "Records the delete date of current entity.", "type": "object" }, "toJSON": { "type": "object" }, "user": { "$ref": "#/definitions/PublicUser" }, "user_id": { "type": "string" }, "validate": { "type": "object" } }, "type": "object" }, "PublicUser": { "properties": { "accent_color": { "type": "number" }, "avatar": { "type": "string" }, "banner": { "type": "string" }, "bot": { "type": "boolean" }, "discriminator": { "type": "string" }, "id": { "type": "string" }, "public_flags": { "type": "bigint" }, "username": { "type": "string" } }, "type": "object" }, "RateLimit": { "properties": { "blocked": { "type": "boolean" }, "construct": { }, "expires_at": { "format": "date-time", "type": "string" }, "hits": { "type": "number" }, "id": { "type": "string" }, "metadata": { }, "opts": { "properties": { "id": { "type": "string" } }, "type": "object" }, "user": { "$ref": "#/definitions/User" }, "user_id": { "type": "string" } }, "type": "object" }, "RateLimitOptions": { "properties": { "bot": { "type": "number" }, "count": { "type": "number" }, "onyIp": { "type": "boolean" }, "window": { "type": "number" } }, "type": "object" }, "Reaction": { "properties": { "count": { "type": "number" }, "emoji": { "$ref": "#/definitions/PartialEmoji" }, "user_ids": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "ReadState": { "properties": { "channel": { "$ref": "#/definitions/Channel" }, "channel_id": { "type": "string" }, "construct": { }, "id": { "type": "string" }, "last_message": { "$ref": "#/definitions/Message" }, "last_message_id": { "type": "string" }, "last_pin_timestamp": { "format": "date-time", "type": "string" }, "manual": { "type": "boolean" }, "mention_count": { "type": "number" }, "metadata": { }, "opts": { "properties": { "id": { "type": "string" } }, "type": "object" }, "user": { "$ref": "#/definitions/User" }, "user_id": { "type": "string" } }, "type": "object" }, "ReadyEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "$ref": "#/definitions/ReadyEventData" }, "event": { "enum": [ "READY" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "ReadyEventData": { "properties": { "analytics_token": { "type": "string" }, "application": { "properties": { "flags": { "type": "bigint" }, "id": { "type": "string" } }, "type": "object" }, "connected_accounts": { "items": { "$ref": "#/definitions/ConnectedAccount" }, "type": "array" }, "consents": { "properties": { "personalization": { "properties": { "consented": { "type": "boolean" } }, "type": "object" } }, "type": "object" }, "country_code": { "type": "string" }, "experiments": { "items": { "items": [ { "type": "number" }, { "type": "number" }, { "type": "number" }, { "type": "number" }, { "type": "number" } ], "maxItems": 5, "minItems": 5, "type": "array" }, "type": "array" }, "friend_suggestion_count": { "type": "number" }, "geo_ordered_rtc_regions": { "items": { "type": "string" }, "type": "array" }, "guild_experiments": { "items": { "items": [ { "type": "number" }, { "type": "null" }, { "type": "number" }, { "items": [ { "items": [ { "type": "number" }, { "items": { "properties": { "e": { "type": "number" }, "s": { "type": "number" } }, "type": "object" }, "type": "array" } ], "maxItems": 2, "minItems": 2, "type": "array" } ], "maxItems": 1, "minItems": 1, "type": "array" }, { "items": [ { "type": "number" }, { "items": [ { "items": [ { "type": "number" }, { "items": [ { "type": "number" }, { "type": "number" } ], "maxItems": 2, "minItems": 2, "type": "array" } ], "maxItems": 2, "minItems": 2, "type": "array" } ], "maxItems": 1, "minItems": 1, "type": "array" } ], "maxItems": 2, "minItems": 2, "type": "array" }, { "items": { "properties": { "b": { "type": "number" }, "k": { "items": { "type": "bigint" }, "type": "array" } }, "type": "object" }, "type": "array" } ], "maxItems": 6, "minItems": 6, "type": "array" }, "type": "array" }, "guild_join_requests": { "items": { }, "type": "array" }, "guilds": { "items": { "$ref": "#/definitions/Guild" }, "type": "array" }, "merged_members": { "items": { "items": { "$ref": "#/definitions/Omit" }, "type": "array" }, "type": "array" }, "private_channels": { "items": { "$ref": "#/definitions/Channel" }, "type": "array" }, "read_state": { "properties": { "entries": { "items": { }, "type": "array" }, "partial": { "type": "boolean" }, "version": { "type": "number" } }, "type": "object" }, "relationships": { "items": { "$ref": "#/definitions/Relationship" }, "type": "array" }, "session_id": { "type": "string" }, "shard": { "items": [ { "type": "number" }, { "type": "number" } ], "maxItems": 2, "minItems": 2, "type": "array" }, "user": { "allOf": [ { "$ref": "#/definitions/PublicUser" }, { "properties": { "bot": { "type": "boolean" }, "desktop": { "type": "boolean" }, "email": { "type": [ "null", "string" ] }, "flags": { "type": "bigint" }, "mfa_enabled": { "type": "boolean" }, "mobile": { "type": "boolean" }, "nsfw_allowed": { "type": "boolean" }, "phone": { "type": [ "null", "string" ] }, "premium": { "type": "boolean" }, "premium_type": { "type": "number" }, "verified": { "type": "boolean" } }, "type": "object" } ] }, "user_guild_settings": { "properties": { "entries": { "items": { "$ref": "#/definitions/UserGuildSettings" }, "type": "array" }, "partial": { "type": "boolean" }, "version": { "type": "number" } }, "type": "object" }, "user_settings": { "$ref": "#/definitions/UserSettings" }, "users": { "items": { "properties": { "avatar": { "type": [ "null", "string" ] }, "bot": { "type": "boolean" }, "discriminator": { "type": "string" }, "id": { "type": "string" }, "public_flags": { "type": "bigint" }, "username": { "type": "string" } }, "type": "object" }, "type": "array" }, "v": { "type": "number" } }, "type": "object" }, "Record": { "type": "object" }, "Region": { "properties": { "custom": { "type": "boolean" }, "deprecated": { "type": "boolean" }, "id": { "type": "string" }, "name": { "type": "string" }, "optimal": { "type": "boolean" }, "vip": { "type": "boolean" } }, "type": "object" }, "Relationship": { "properties": { "construct": { }, "id": { "type": "string" }, "metadata": { }, "nickname": { "type": "string" }, "opts": { "properties": { "id": { "type": "string" } }, "type": "object" }, "type": { "$ref": "#/definitions/RelationshipType" }, "user": { "$ref": "#/definitions/User" }, "user_id": { "type": "string" } }, "type": "object" }, "RelationshipAddEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "allOf": [ { "$ref": "#/definitions/Relationship" }, { "properties": { "should_notify": { "type": "boolean" }, "user": { "$ref": "#/definitions/PublicUser" } }, "type": "object" } ] }, "event": { "enum": [ "RELATIONSHIP_ADD" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "RelationshipRemoveEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "$ref": "#/definitions/Omit" }, "event": { "enum": [ "RELATIONSHIP_REMOVE" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "RelationshipType": { "enum": [ 1, 2, 3, 4 ], "type": "number" }, "Role": { "properties": { "color": { "type": "number" }, "construct": { }, "guild": { "$ref": "#/definitions/Guild" }, "guild_id": { "type": "string" }, "hoist": { "type": "boolean" }, "id": { "type": "string" }, "managed": { "type": "boolean" }, "mentionable": { "type": "boolean" }, "metadata": { }, "name": { "type": "string" }, "opts": { "properties": { "id": { "type": "string" } }, "type": "object" }, "permissions": { "type": "bigint" }, "position": { "type": "number" }, "tags": { "properties": { "bot_id": { "type": "string" }, "integration_id": { "type": "string" }, "premium_subscriber": { "type": "boolean" } }, "type": "object" } }, "type": "object" }, "Snowflake": { "description": "A container for useful snowflake-related methods.", "type": "object" }, "Status": { "enum": [ "dnd", "idle", "offline", "online" ], "type": "string" }, "Team": { "properties": { "construct": { }, "icon": { "type": "string" }, "id": { "type": "string" }, "member_ids": { "items": { "type": "string" }, "type": "array" }, "members": { "items": { "$ref": "#/definitions/TeamMember" }, "type": "array" }, "metadata": { }, "name": { "type": "string" }, "opts": { "properties": { "id": { "type": "string" } }, "type": "object" }, "owner_user": { "$ref": "#/definitions/User" }, "owner_user_id": { "type": "string" } }, "type": "object" }, "TeamMember": { "properties": { "construct": { }, "id": { "type": "string" }, "membership_state": { "$ref": "#/definitions/TeamMemberState" }, "metadata": { }, "opts": { "properties": { "id": { "type": "string" } }, "type": "object" }, "permissions": { "items": { "type": "string" }, "type": "array" }, "team": { "$ref": "#/definitions/Team" }, "team_id": { "type": "string" }, "user": { "$ref": "#/definitions/User" }, "user_id": { "type": "string" } }, "type": "object" }, "TeamMemberState": { "enum": [ 1, 2 ], "type": "number" }, "Template": { "properties": { "code": { "type": "string" }, "construct": { }, "created_at": { "format": "date-time", "type": "string" }, "creator": { "$ref": "#/definitions/User" }, "creator_id": { "type": "string" }, "description": { "type": "string" }, "id": { "type": "string" }, "metadata": { }, "name": { "type": "string" }, "opts": { "properties": { "id": { "type": "string" } }, "type": "object" }, "serialized_source_guild": { "$ref": "#/definitions/Guild" }, "source_guild": { "$ref": "#/definitions/Guild" }, "source_guild_id": { "type": "string" }, "updated_at": { "format": "date-time", "type": "string" }, "usage_count": { "type": "number" } }, "type": "object" }, "TypingStartEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "properties": { "channel_id": { "type": "string" }, "guild_id": { "type": "string" }, "member": { "$ref": "#/definitions/PublicMember" }, "timestamp": { "type": "number" }, "user_id": { "type": "string" } }, "type": "object" }, "event": { "enum": [ "TYPING_START" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "User": { "properties": { "accent_color": { "type": "number" }, "avatar": { "type": "string" }, "banner": { "type": "string" }, "bio": { "type": "string" }, "bot": { "type": "boolean" }, "connected_account_ids": { "items": { "type": "string" }, "type": "array" }, "connected_accounts": { "items": { "$ref": "#/definitions/ConnectedAccount" }, "type": "array" }, "construct": { }, "created_at": { "format": "date-time", "type": "string" }, "data": { "properties": { "hash": { "type": "string" }, "valid_tokens_since": { "format": "date-time", "type": "string" } }, "type": "object" }, "deleted": { "type": "boolean" }, "desktop": { "type": "boolean" }, "disabled": { "type": "boolean" }, "discriminator": { "type": "string" }, "email": { "type": "string" }, "fingerprints": { "items": { "type": "string" }, "type": "array" }, "flags": { "type": "bigint" }, "guild_ids": { "items": { "type": "string" }, "type": "array" }, "guilds": { "items": { "$ref": "#/definitions/Guild" }, "type": "array" }, "id": { "type": "string" }, "metadata": { }, "mfa_enabled": { "type": "boolean" }, "mobile": { "type": "boolean" }, "nsfw_allowed": { "type": "boolean" }, "opts": { "properties": { "id": { "type": "string" } }, "type": "object" }, "phone": { "type": "string" }, "premium": { "type": "boolean" }, "premium_type": { "type": "number" }, "public_flags": { "type": "bigint" }, "relationship_ids": { "items": { "type": "string" }, "type": "array" }, "relationships": { "items": { "$ref": "#/definitions/Relationship" }, "type": "array" }, "settings": { "$ref": "#/definitions/UserSettings" }, "system": { "type": "boolean" }, "username": { "type": "string" }, "verified": { "type": "boolean" } }, "type": "object" }, "UserFlags": { "properties": { "bitfield": { "type": "bigint" } }, "type": "object" }, "UserGuildSettings": { "properties": { "channel_overrides": { "items": { "properties": { "channel_id": { "type": "string" }, "message_notifications": { "type": "number" }, "mute_config": { "$ref": "#/definitions/MuteConfig" }, "muted": { "type": "boolean" } }, "type": "object" }, "type": "array" }, "message_notifications": { "type": "number" }, "mobile_push": { "type": "boolean" }, "mute_config": { "$ref": "#/definitions/MuteConfig" }, "muted": { "type": "boolean" }, "suppress_everyone": { "type": "boolean" }, "suppress_roles": { "type": "boolean" }, "version": { "type": "number" } }, "type": "object" }, "UserSettings": { "properties": { "afk_timeout": { "type": "number" }, "allow_accessibility_detection": { "type": "boolean" }, "animate_emoji": { "type": "boolean" }, "animate_stickers": { "type": "number" }, "contact_sync_enabled": { "type": "boolean" }, "convert_emoticons": { "type": "boolean" }, "custom_status": { "properties": { "emoji_id": { "type": "string" }, "emoji_name": { "type": "string" }, "expires_at": { "type": "number" }, "text": { "type": "string" } }, "type": "object" }, "default_guilds_restricted": { "type": "boolean" }, "detect_platform_accounts": { "type": "boolean" }, "developer_mode": { "type": "boolean" }, "disable_games_tab": { "type": "boolean" }, "enable_tts_command": { "type": "boolean" }, "explicit_content_filter": { "type": "number" }, "friend_source_flags": { "properties": { "all": { "type": "boolean" } }, "type": "object" }, "gateway_connected": { "type": "boolean" }, "gif_auto_play": { "type": "boolean" }, "guild_folders": { "items": { "properties": { "color": { "type": "number" }, "guild_ids": { "items": { "type": "string" }, "type": "array" }, "id": { "type": "number" }, "name": { "type": "string" } }, "type": "object" }, "type": "array" }, "guild_positions": { "items": { "type": "string" }, "type": "array" }, "inline_attachment_media": { "type": "boolean" }, "inline_embed_media": { "type": "boolean" }, "locale": { "type": "string" }, "message_display_compact": { "type": "boolean" }, "native_phone_integration_enabled": { "type": "boolean" }, "render_embeds": { "type": "boolean" }, "render_reactions": { "type": "boolean" }, "restricted_guilds": { "items": { "type": "string" }, "type": "array" }, "show_current_game": { "type": "boolean" }, "status": { "enum": [ "dnd", "idle", "offline", "online" ], "type": "string" }, "stream_notifications_enabled": { "type": "boolean" }, "theme": { "enum": [ "dark", "white" ], "type": "string" }, "timezone_offset": { "type": "number" } }, "type": "object" }, "UserUpdateEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "$ref": "#/definitions/User" }, "event": { "enum": [ "USER_UPDATE" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "VoiceServerUpdateEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "properties": { "endpoint": { "type": "string" }, "guild_id": { "type": "string" }, "token": { "type": "string" } }, "type": "object" }, "event": { "enum": [ "VOICE_SERVER_UPDATE" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "VoiceState": { "properties": { "channel": { "$ref": "#/definitions/Channel" }, "channel_id": { "type": "string" }, "construct": { }, "deaf": { "type": "boolean" }, "guild": { "$ref": "#/definitions/Guild" }, "guild_id": { "type": "string" }, "id": { "type": "string" }, "metadata": { }, "mute": { "type": "boolean" }, "opts": { "properties": { "id": { "type": "string" } }, "type": "object" }, "self_deaf": { "type": "boolean" }, "self_mute": { "type": "boolean" }, "self_stream": { "type": "boolean" }, "self_video": { "type": "boolean" }, "session_id": { "type": "string" }, "suppress": { "type": "boolean" }, "user": { "$ref": "#/definitions/User" }, "user_id": { "type": "string" } }, "type": "object" }, "VoiceStateUpdateEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "allOf": [ { "$ref": "#/definitions/VoiceState" }, { "properties": { "member": { "$ref": "#/definitions/PublicMember" } }, "type": "object" } ] }, "event": { "enum": [ "VOICE_STATE_UPDATE" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" }, "Webhook": { "properties": { "application": { "$ref": "#/definitions/Application" }, "application_id": { "type": "string" }, "avatar": { "type": "string" }, "channel": { "$ref": "#/definitions/Channel" }, "channel_id": { "type": "string" }, "construct": { }, "guild": { "$ref": "#/definitions/Guild" }, "guild_id": { "type": "string" }, "id": { "type": "string" }, "metadata": { }, "name": { "type": "string" }, "opts": { "properties": { "id": { "type": "string" } }, "type": "object" }, "source_guild": { "$ref": "#/definitions/Guild" }, "source_guild_id": { "type": "string" }, "token": { "type": "string" }, "type": { "$ref": "#/definitions/WebhookType" }, "user": { "$ref": "#/definitions/User" }, "user_id": { "type": "string" } }, "type": "object" }, "WebhookType": { "enum": [ 1, 2 ], "type": "number" }, "WebhooksUpdateEvent": { "properties": { "channel_id": { "type": "string" }, "created_at": { "format": "date-time", "type": "string" }, "data": { "properties": { "channel_id": { "type": "string" }, "guild_id": { "type": "string" } }, "type": "object" }, "event": { "enum": [ "WEBHOOKS_UPDATE" ], "type": "string" }, "guild_id": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object" } } }