wumpy icon indicating copy to clipboard operation
wumpy copied to clipboard

Create models for all Discord objects

Open Bluenix2 opened this issue 4 years ago • 1 comments

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

Bluenix2 avatar Nov 04 '21 15:11 Bluenix2

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.

Bluenix2 avatar Nov 10 '21 17:11 Bluenix2