Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create models for all Discord objects #4

Open
22 of 30 tasks
Bluenix2 opened this issue Nov 4, 2021 · 1 comment
Open
22 of 30 tasks

Create models for all Discord objects #4

Bluenix2 opened this issue Nov 4, 2021 · 1 comment
Labels
feature New addition to the library wumpy-models

Comments

@Bluenix2
Copy link
Collaborator

Bluenix2 commented Nov 4, 2021

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:

  • Guilds
  • Guild templates
  • Members
  • Roles
    • Roles
    • Permissions
    • Permission overwrites
  • Emojis
  • Stickers
  • Reactions
  • Channels
    • Text channels
    • Voice channels
    • Category channels
    • News channels
    • Thread channels
    • Forums
  • Invites
  • Application
  • Intergrations
  • Users
  • Messages
    • Attachments
    • Embeds
  • Webhooks
  • Audit log objects
  • Voice state
  • Auto moderation
    • Automod rules
    • Automod executions
@Bluenix2 Bluenix2 added the feature New addition to the library label Nov 4, 2021
@Bluenix2
Copy link
Collaborator Author

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 added a commit that referenced this issue Nov 13, 2021
Bluenix2 added a commit that referenced this issue Nov 14, 2021
Some of the fields are missing such as PartialGuild's all Asset attributes and a lot of optional ones on Invite.

This will be completed in another commit; this commit is just to add a start.
Bluenix2 added a commit that referenced this issue Nov 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New addition to the library wumpy-models
Projects
Status: ⚙️ - In Progress
Development

No branches or pull requests

1 participant