[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F3YSHQEV135MMRVM5BR8V3":3,"skill-same:01M6F3YSHQEV135MMRVM5BR8V3":45},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M6F3YSHQEV135MMRVM5BR8V3","discord",null,"ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FelizaOS\u002Feliza\u002Fdiscord\u002FSKILL.md",[],[5],"2026-11-10 10:12:30",false,"# Discord Actions\n\n## Overview\n\nUse `discord` to manage messages, reactions, threads, polls, and moderation. You can disable groups via `discord.actions.*` (defaults to enabled, except roles\u002Fmoderation). The tool uses the bot token configured for Otto.\n\n## Inputs to collect\n\n- For reactions: `channelId`, `messageId`, and an `emoji`.\n- For fetchMessage: `guildId`, `channelId`, `messageId`, or a `messageLink` like `https:\u002F\u002Fdiscord.com\u002Fchannels\u002F\u003CguildId>\u002F\u003CchannelId>\u002F\u003CmessageId>`.\n- For stickers\u002Fpolls\u002FsendMessage: a `to` target (`channel:\u003Cid>` or `user:\u003Cid>`). Optional `content` text.\n- Polls also need a `question` plus 2–10 `answers`.\n- For media: `mediaUrl` with `file:\u002F\u002F\u002Fpath` for local files or `https:\u002F\u002F...` for remote.\n- For emoji uploads: `guildId`, `name`, `mediaUrl`, optional `roleIds` (limit 256KB, PNG\u002FJPG\u002FGIF).\n- For sticker uploads: `guildId`, `name`, `description`, `tags`, `mediaUrl` (limit 512KB, PNG\u002FAPNG\u002FLottie JSON).\n\nMessage context lines include `discord message id` and `channel` fields you can reuse directly.\n\n**Note:** `sendMessage` uses `to: \"channel:\u003Cid>\"` format, not `channelId`. Other actions like `react`, `readMessages`, `editMessage` use `channelId` directly.\n**Note:** `fetchMessage` accepts message IDs or full links like `https:\u002F\u002Fdiscord.com\u002Fchannels\u002F\u003CguildId>\u002F\u003CchannelId>\u002F\u003CmessageId>`.\n\n## Actions\n\n### React to a message\n\n```json\n{\n  \"action\": \"react\",\n  \"channelId\": \"123\",\n  \"messageId\": \"456\",\n  \"emoji\": \"✅\"\n}\n```\n\n### List reactions + users\n\n```json\n{\n  \"action\": \"reactions\",\n  \"channelId\": \"123\",\n  \"messageId\": \"456\",\n  \"limit\": 100\n}\n```\n\n### Send a sticker\n\n```json\n{\n  \"action\": \"sticker\",\n  \"to\": \"channel:123\",\n  \"stickerIds\": [\"9876543210\"],\n  \"content\": \"Nice work!\"\n}\n```\n\n- Up to 3 sticker IDs per message.\n- `to` can be `user:\u003Cid>` for DMs.\n\n### Upload a custom emoji\n\n```json\n{\n  \"action\": \"emojiUpload\",\n  \"guildId\": \"999\",\n  \"name\": \"party_blob\",\n  \"mediaUrl\": \"file:\u002F\u002F\u002Ftmp\u002Fparty.png\",\n  \"roleIds\": [\"222\"]\n}\n```\n\n- Emoji images must be PNG\u002FJPG\u002FGIF and \u003C= 256KB.\n- `roleIds` is optional; omit to make the emoji available to everyone.\n\n### Upload a sticker\n\n```json\n{\n  \"action\": \"stickerUpload\",\n  \"guildId\": \"999\",\n  \"name\": \"otto_wave\",\n  \"description\": \"Otto waving hello\",\n  \"tags\": \"?\",\n  \"mediaUrl\": \"file:\u002F\u002F\u002Ftmp\u002Fwave.png\"\n}\n```\n\n- Stickers require `name`, `description`, and `tags`.\n- Uploads must be PNG\u002FAPNG\u002FLottie JSON and \u003C= 512KB.\n\n### Create a poll\n\n```json\n{\n  \"action\": \"poll\",\n  \"to\": \"channel:123\",\n  \"question\": \"Lunch?\",\n  \"answers\": [\"Pizza\", \"Sushi\", \"Salad\"],\n  \"allowMultiselect\": false,\n  \"durationHours\": 24,\n  \"content\": \"Vote now\"\n}\n```\n\n- `durationHours` defaults to 24; max 32 days (768 hours).\n\n### Check bot permissions for a channel\n\n```json\n{\n  \"action\": \"permissions\",\n  \"channelId\": \"123\"\n}\n```\n\n## Ideas to try\n\n- React with ✅\u002F⚠️ to mark status updates.\n- Post a quick poll for release decisions or meeting times.\n- Send celebratory stickers after successful deploys.\n- Upload new emojis\u002Fstickers for release moments.\n- Run weekly “priority check” polls in team channels.\n- DM stickers as acknowledgements when a user’s request is completed.\n\n## Action gating\n\nUse `discord.actions.*` to disable action groups:\n\n- `reactions` (react + reactions list + emojiList)\n- `stickers`, `polls`, `permissions`, `messages`, `threads`, `pins`, `search`\n- `emojiUploads`, `stickerUploads`\n- `memberInfo`, `roleInfo`, `channelInfo`, `voiceStatus`, `events`\n- `roles` (role add\u002Fremove, default `false`)\n- `channels` (channel\u002Fcategory create\u002Fedit\u002Fdelete\u002Fmove, default `false`)\n- `moderation` (timeout\u002Fkick\u002Fban, default `false`)\n- `presence` (bot status\u002Factivity, default `false`)\n\n### Read recent messages\n\n```json\n{\n  \"action\": \"readMessages\",\n  \"channelId\": \"123\",\n  \"limit\": 20\n}\n```\n\n### Fetch a single message\n\n```json\n{\n  \"action\": \"fetchMessage\",\n  \"guildId\": \"999\",\n  \"channelId\": \"123\",\n  \"messageId\": \"456\"\n}\n```\n\n```json\n{\n  \"action\": \"fetchMessage\",\n  \"messageLink\": \"https:\u002F\u002Fdiscord.com\u002Fchannels\u002F999\u002F123\u002F456\"\n}\n```\n\n### Send\u002Fedit\u002Fdelete a message\n\n```json\n{\n  \"action\": \"sendMessage\",\n  \"to\": \"channel:123\",\n  \"content\": \"Hello from Otto\"\n}\n```\n\n**With media attachment:**\n\n```json\n{\n  \"action\": \"sendMessage\",\n  \"to\": \"channel:123\",\n  \"content\": \"Check out this audio!\",\n  \"mediaUrl\": \"file:\u002F\u002F\u002Ftmp\u002Faudio.mp3\"\n}\n```\n\n- `to` uses format `channel:\u003Cid>` or `user:\u003Cid>` for DMs (not `channelId`!)\n- `mediaUrl` supports local files (`file:\u002F\u002F\u002Fpath\u002Fto\u002Ffile`) and remote URLs (`https:\u002F\u002F...`)\n- Optional `replyTo` with a message ID to reply to a specific message\n\n```json\n{\n  \"action\": \"editMessage\",\n  \"channelId\": \"123\",\n  \"messageId\": \"456\",\n  \"content\": \"Fixed typo\"\n}\n```\n\n```json\n{\n  \"action\": \"deleteMessage\",\n  \"channelId\": \"123\",\n  \"messageId\": \"456\"\n}\n```\n\n### Threads\n\n```json\n{\n  \"action\": \"threadCreate\",\n  \"channelId\": \"123\",\n  \"name\": \"Bug triage\",\n  \"messageId\": \"456\"\n}\n```\n\n```json\n{\n  \"action\": \"threadList\",\n  \"guildId\": \"999\"\n}\n```\n\n```json\n{\n  \"action\": \"threadReply\",\n  \"channelId\": \"777\",\n  \"content\": \"Replying in thread\"\n}\n```\n\n### Pins\n\n```json\n{\n  \"action\": \"pinMessage\",\n  \"channelId\": \"123\",\n  \"messageId\": \"456\"\n}\n```\n\n```json\n{\n  \"action\": \"listPins\",\n  \"channelId\": \"123\"\n}\n```\n\n### Search messages\n\n```json\n{\n  \"action\": \"searchMessages\",\n  \"guildId\": \"999\",\n  \"content\": \"release notes\",\n  \"channelIds\": [\"123\", \"456\"],\n  \"limit\": 10\n}\n```\n\n### Member + role info\n\n```json\n{\n  \"action\": \"memberInfo\",\n  \"guildId\": \"999\",\n  \"userId\": \"111\"\n}\n```\n\n```json\n{\n  \"action\": \"roleInfo\",\n  \"guildId\": \"999\"\n}\n```\n\n### List available custom emojis\n\n```json\n{\n  \"action\": \"emojiList\",\n  \"guildId\": \"999\"\n}\n```\n\n### Role changes (disabled by default)\n\n```json\n{\n  \"action\": \"roleAdd\",\n  \"guildId\": \"999\",\n  \"userId\": \"111\",\n  \"roleId\": \"222\"\n}\n```\n\n### Channel info\n\n```json\n{\n  \"action\": \"channelInfo\",\n  \"channelId\": \"123\"\n}\n```\n\n```json\n{\n  \"action\": \"channelList\",\n  \"guildId\": \"999\"\n}\n```\n\n### Channel management (disabled by default)\n\nCreate, edit, delete, and move channels and categories. Enable via `discord.actions.channels: true`.\n\n**Create a text channel:**\n\n```json\n{\n  \"action\": \"channelCreate\",\n  \"guildId\": \"999\",\n  \"name\": \"general-chat\",\n  \"type\": 0,\n  \"parentId\": \"888\",\n  \"topic\": \"General discussion\"\n}\n```\n\n- `type`: Discord channel type integer (0 = text, 2 = voice, 4 = category; other values supported)\n- `parentId`: category ID to nest under (optional)\n- `topic`, `position`, `nsfw`: optional\n\n**Create a category:**\n\n```json\n{\n  \"action\": \"categoryCreate\",\n  \"guildId\": \"999\",\n  \"name\": \"Projects\"\n}\n```\n\n**Edit a channel:**\n\n```json\n{\n  \"action\": \"channelEdit\",\n  \"channelId\": \"123\",\n  \"name\": \"new-name\",\n  \"topic\": \"Updated topic\"\n}\n```\n\n- Supports `name`, `topic`, `position`, `parentId` (null to remove from category), `nsfw`, `rateLimitPerUser`\n\n**Move a channel:**\n\n```json\n{\n  \"action\": \"channelMove\",\n  \"guildId\": \"999\",\n  \"channelId\": \"123\",\n  \"parentId\": \"888\",\n  \"position\": 2\n}\n```\n\n- `parentId`: target category (null to move to top level)\n\n**Delete a channel:**\n\n```json\n{\n  \"action\": \"channelDelete\",\n  \"channelId\": \"123\"\n}\n```\n\n**Edit\u002Fdelete a category:**\n\n```json\n{\n  \"action\": \"categoryEdit\",\n  \"categoryId\": \"888\",\n  \"name\": \"Renamed Category\"\n}\n```\n\n```json\n{\n  \"action\": \"categoryDelete\",\n  \"categoryId\": \"888\"\n}\n```\n\n### Voice status\n\n```json\n{\n  \"action\": \"voiceStatus\",\n  \"guildId\": \"999\",\n  \"userId\": \"111\"\n}\n```\n\n### Scheduled events\n\n```json\n{\n  \"action\": \"eventList\",\n  \"guildId\": \"999\"\n}\n```\n\n### Moderation (disabled by default)\n\n```json\n{\n  \"action\": \"timeout\",\n  \"guildId\": \"999\",\n  \"userId\": \"111\",\n  \"durationMinutes\": 10\n}\n```\n\n### Bot presence\u002Factivity (disabled by default)\n\nSet the bot's online status and activity. Enable via `discord.actions.presence: true`.\n\nDiscord bots can only set `name`, `state`, `type`, and `url` on an activity. Other Activity fields (details, emoji, assets) are accepted by the gateway but silently ignored by Discord for bots.\n\n**How fields render by activity type:**\n\n- **playing, streaming, listening, watching, competing**: `activityName` is shown in the sidebar under the bot's name (e.g. \"**with fire**\" for type \"playing\" and name \"with fire\"). `activityState` is shown in the profile flyout.\n- **custom**: `activityName` is ignored. Only `activityState` is displayed as the status text in the sidebar.\n- **streaming**: `activityUrl` may be displayed or embedded by the client.\n\n**Set playing status:**\n\n```json\n{\n  \"action\": \"setPresence\",\n  \"activityType\": \"playing\",\n  \"activityName\": \"with fire\"\n}\n```\n\nResult in sidebar: \"**with fire**\". Flyout shows: \"Playing: with fire\"\n\n**With state (shown in flyout):**\n\n```json\n{\n  \"action\": \"setPresence\",\n  \"activityType\": \"playing\",\n  \"activityName\": \"My Game\",\n  \"activityState\": \"In the lobby\"\n}\n```\n\nResult in sidebar: \"**My Game**\". Flyout shows: \"Playing: My Game (newline) In the lobby\".\n\n**Set streaming (optional URL, may not render for bots):**\n\n```json\n{\n  \"action\": \"setPresence\",\n  \"activityType\": \"streaming\",\n  \"activityName\": \"Live coding\",\n  \"activityUrl\": \"https:\u002F\u002Ftwitch.tv\u002Fexample\"\n}\n```\n\n**Set listening\u002Fwatching:**\n\n```json\n{\n  \"action\": \"setPresence\",\n  \"activityType\": \"listening\",\n  \"activityName\": \"Spotify\"\n}\n```\n\n```json\n{\n  \"action\": \"setPresence\",\n  \"activityType\": \"watching\",\n  \"activityName\": \"the logs\"\n}\n```\n\n**Set a custom status (text in sidebar):**\n\n```json\n{\n  \"action\": \"setPresence\",\n  \"activityType\": \"custom\",\n  \"activityState\": \"Vibing\"\n}\n```\n\nResult in sidebar: \"Vibing\". Note: `activityName` is ignored for custom type.\n\n**Set bot status only (no activity\u002Fclear status):**\n\n```json\n{\n  \"action\": \"setPresence\",\n  \"status\": \"dnd\"\n}\n```\n\n**Parameters:**\n\n- `activityType`: `playing`, `streaming`, `listening`, `watching`, `competing`, `custom`\n- `activityName`: text shown in the sidebar for non-custom types (ignored for `custom`)\n- `activityUrl`: Twitch or YouTube URL for streaming type (optional; may not render for bots)\n- `activityState`: for `custom` this is the status text; for other types it shows in the profile flyout\n- `status`: `online` (default), `dnd`, `idle`, `invisible`\n\n## Discord Writing Style Guide\n\n**Keep it conversational!** Discord is a chat platform, not documentation.\n\n### Do\n\n- Short, punchy messages (1-3 sentences ideal)\n- Multiple quick replies > one wall of text\n- Use emoji for tone\u002Femphasis ?\n- Lowercase casual style is fine\n- Break up info into digestible chunks\n- Match the energy of the conversation\n\n### Don't\n\n- No markdown tables (Discord renders them as ugly raw `| text |`)\n- No `## Headers` for casual chat (use **bold** or CAPS for emphasis)\n- Avoid multi-paragraph essays\n- Don't over-explain simple things\n- Skip the \"I'd be happy to help!\" fluff\n\n### Formatting that works\n\n- **bold** for emphasis\n- `code` for technical terms\n- Lists for multiple items\n- > quotes for referencing\n- Wrap multiple links in `\u003C>` to suppress embeds\n\n### Example transformations\n\n❌ Bad:\n\n```\nI'd be happy to help with that! Here's a comprehensive overview of the versioning strategies available:\n\n## Semantic Versioning\nSemver uses MAJOR.MINOR.PATCH format where...\n\n## Calendar Versioning\nCalVer uses date-based versions like...\n```\n\n✅ Good:\n\n```\nversioning options: semver (1.2.3), calver (2026.01.04), or yolo (`latest` forever). what fits your release cadence?\n```\n",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002FelizaOS\u002Feliza\u002Fdiscord",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill discord",{"tool":37,"command":38},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill discord",{"tool":40,"command":41},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill discord","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FelizaOS\u002Feliza\u002Fdiscord\u002FSKILL.md",true,[],[46,55,64,73,79,85],{"skillNo":47,"name":48,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":18},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[52,53,54],"model","model hierarchy","model hierarchy skill",{"skillNo":56,"name":57,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[61,62,63],"MCP","zoom","zoom mcp",{"skillNo":65,"name":66,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":18},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[70,71,72,62],"sdk","zoom apps sdk","apps",{"skillNo":74,"name":75,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[75],{"skillNo":80,"name":81,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[81],{"skillNo":86,"name":87,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[87]]