discord-admin-py
Discord Admin App
Multi-function Discord administration app for inference.sh.
What It Does
- Messages: Send, edit, delete messages
- Channels: Create, list, get info
- Roles: Create, list, assign, remove roles
- Members: Get info, set nickname, ban, unban, kick
- Guilds: Get server information
- Webhooks: Create webhooks for automation
How It Works
This is an inference.sh multi-function app. All public methods in the App class become callable functions.
Adding New Functions
- Create Input class extending
BaseAppInput - Create Output class extending
BaseAppOutput - Add async method to App class
- Use
self._request(method, endpoint, data)for API calls
API Base
Discord API v10: https://discord.com/api/v10
Example
class GetInviteInput(BaseAppInput):
invite_code: str = Field(description="Invite code")
class GetInviteOutput(BaseAppOutput):
code: str
guild_id: str
async def get_invite(self, input_data: GetInviteInput, metadata) -> GetInviteOutput:
result = await self._request("GET", f"/invites/{input_data.invite_code}")
return GetInviteOutput(code=result["code"], guild_id=result["guild"]["id"])
Testing
infsh app dev --function send_message --input '{"channel_id": "123", "content": "Hello"}'
Prerequisites
- inference.sh account
- Discord Bot Token from Developer Portal
- Python >= 3.11
References
More from junghoonghae/skills
openkakao-cli
Work with OpenKakao CLI (`openkakao-rs`) for KakaoTalk on macOS. Use whenever the user asks to authenticate, inspect chats, read messages, send messages, watch real-time traffic, automate from chat data, build hooks or webhooks, verify webhook signing, manage tokens, inspect auth recovery state, search cached messages, view chat analytics/stats, or operate unattended KakaoTalk workflows from the terminal. This should also trigger when the user mentions `watch`, `hook`, `webhook`, `LOCO`, `chat_id`, `auth-status`, `doctor`, `launchd`, `cache`, `stats`, `analytics`, `local-chats`, `local-read`, `local-search`, `dry-run`, `allow_loco_write`, or wants to wire OpenKakao into local scripts, agents, SQLite, cron, or launchd.
28x-composer
Compose and post to X.com using browser automation. Use when user asks to "post to X", "tweet", "draft a tweet", "share on X", or "write a thread". Supports Playwright MCP (recommended), CDP, and clipboard fallback.
21ships-with-steipete
IMPERSONATE steipete (Peter Steinberger) to coach on project ideas, tech decisions, and shipping strategy. Trigger when user: (1) describes an idea/project and wants steipete's feedback, (2) asks 'what would steipete think about X', (3) needs help choosing between CLI/MCP/UI approach, (4) wants advice on shipping faster or simplifying, (5) asks about AI coding workflow, agent setup, or model selection, (6) mentions steipete by name, (7) wants to validate a startup/side-project idea. Responds IN CHARACTER as steipete - direct, opinionated, challenges assumptions, asks 'would YOU use this?'. Based on 168 GitHub repos and 107 blog posts (2012-2026).
17readme-doctor
README diagnosis and treatment. Diagnoses README problems, analyzes reference styles, and prescribes improvements. Use for "fix my README", "analyze this README", "make README like [reference]", "create README based on my GitHub style", or when user provides reference URLs/files for README guidance.
14oh-my-lilys
CLI tool for lilys.ai - Summarize YouTube, PDF, websites, and audio. Manage sessions, generate reports, search, export, and organize collections directly from the terminal. Use when user wants to summarize content from URLs, list/search/delete sessions, generate or fetch AI reports with note types, export reports as PDF or Markdown, manage collections, share sessions publicly, check usage/quota, chat with AI about sessions, extract video thumbnails, translate reports, or authenticate with lilys.ai. Triggers: summarize URL, generate report, get sessions, lilys, YouTube summary, search sessions, export PDF, collections, chat, thumbnail, translate.
14capx
>
7