Dico
Yet another Discord API wrapper for Python.
Install / Use
/learn @dico-api/DicoREADME
dico
Keep in mind that this project is still WIP, therefore it might be unstable.
Yet another Discord API wrapper for Python, aimed to follow Discord API format as much as possible but also simple and easy to use.
Features
- Discord v10 API (including Threads, components, context menus, etc.)
- Full interaction support
- API-Only supported, with aiohttp-based or requests-based HTTP client.
- More soon™
Installation
Development Version:
pip install -U git+https://github.com/dico-api/dico
PyPi(Not Recommended):
pip install -U dico-api
Quick Example
API Client
import dico
api = dico.APIClient("APPLICATION_TOKEN_HERE", base=dico.HTTPRequest)
# You may use AsyncHTTPClient for async support.
# All endpoints are implemented, and for the example request_user (= Get User) will be used.
user = api.request_user() # You may pass any user ID or it will be the application itself.
# You may use either int, str, dico.Snowflake, or dico.User itself.
print(user.username)
Websocket Client
import dico
client = dico.Client("YOUR_BOT_TOKEN_HERE", intents=dico.Intents.full())
@client.on_message_create
async def on_message_create(message: dico.Message):
if message.content.startswith("!hello"):
await message.reply("Hello, World!")
client.run()
More examples are in here.
Requirements
- Python 3.7+
Extra Libs
Related Skills
imsg
351.8kiMessage/SMS CLI for listing chats, history, and sending messages via Messages.app.
node-connect
351.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
110.9kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
110.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
