A dart package to interact with the Discord API for user-account and bot, compatible with Flutter app on any platform.
Warning
This library is mostly incomplete, support for bot has not even started yet, and user-account support is very limited. Accounts can be terminated by Discord at any time without any guarantee by this library. Use at your own risk.
Caution
This library is not and will not be maintained, it cannot be used in production, and it is not recommended to use in any project. The code is published here as it was in August 2024 when the project was still active.
- Create a queue for requests (avoid getting rate limited)
- Detect captcha, and handle them properly when logging in through user account
- Defining rich presence
- Send message
- Send message with attachment (creating a new util)
- List messages in a conv, and load them progressively
- Parse user flags, and user status
- Fetch user info with their id
- List joined guilds, friends, conversations and activities of friends
- Emit events when a channel (private conversation) is created/updated/deleted, when friends presences is updated, and when client is ready
- Get current user info
- Login and logout (destroy current client)
- Use cache to avoid useless requests
MIT © Johan. Support this project via Ko-Fi or PayPal if you want to help me 💙