wumpy
wumpy copied to clipboard
Create models for all Discord objects
Summary
All objects recieved from Discord needs to be wrapped with a class that takes the dictionary from the JSON data and sets attributes. There's a lot of them, so this is tracking that.
Tasks
These are in no particular order:
- [x] Guilds
- [ ] Guild templates
- [x] Members
- [x] Roles
- [x] Roles
- [x] Permissions
- [x] Permission overwrites
- [x] Emojis
- [x] Stickers
- [x] Reactions
- [x] Channels
- [x] Text channels
- [x] Voice channels
- [x] Category channels
- [x] News channels
- [x] Thread channels
- [ ] Forums
- [x] Invites
- [x] Application
- [x] Intergrations
- [x] Users
- [x] Messages
- [x] Attachments
- [x] Embeds
- [ ] Webhooks
- [ ] Audit log objects
- [ ] Voice state
- [ ] Auto moderation
- [ ] Automod rules
- [ ] Automod executions
I have decided to do this completely stateless - designing a state API with caching at the same time and figuring out how to pass the RESTClient is premature optimization that's slowing down the progression of this issue.