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

REST methods cleanup #1217

Merged
merged 15 commits into from Aug 17, 2022
Merged

REST methods cleanup #1217

merged 15 commits into from Aug 17, 2022

Commits on Jul 25, 2022

  1. refactor(GuildRoleEdit)!: use struct params

    Refactor GuildRoleEdit to accept parameters using a Params struct.
    Therefore also allow partial edits.
    FedorLap2006 committed Jul 25, 2022
    Copy the full SHA
    e4d82f3 View commit details
    Browse the repository at this point in the history
  2. feat(GuildRoleCreate): initial parameters

    Make GuildRoleCreate accept a struct with initial parameters for a role
    FedorLap2006 committed Jul 25, 2022
    Copy the full SHA
    eb02a61 View commit details
    Browse the repository at this point in the history
  3. refactor(ChannelEdit)!: replace ChannelEditComplex

    Move funcitonality of ChannelEditComplex to ChannelEdit
    FedorLap2006 committed Jul 25, 2022
    Copy the full SHA
    9de66a0 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    bc1a3a8 View commit details
    Browse the repository at this point in the history
  5. feat(GuildEmbed)!: allow partial edits

    * Make fields omitempty
    * Make `Enabled` field a pointer
    FedorLap2006 committed Jul 25, 2022
    Copy the full SHA
    54f1caf View commit details
    Browse the repository at this point in the history
  6. refactor(GuildEmbedEdit)!: use params struct

    Refactor GuildEmbedEdit to accept parameters through GuildEmbed struct
    FedorLap2006 committed Jul 25, 2022
    Copy the full SHA
    f86fc86 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2022

  1. refactor(GuildMemberEdit)!: replace GuildMemberEditComplex

    Move functionality fo GuildMemberEditComplex to GuildMemberEdit
    FedorLap2006 committed Jul 29, 2022
    Copy the full SHA
    d232ee7 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    42c8c83 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2022

  1. refactor(GuildEmojiCreate)!: use struct params

    Refactor GuildEmojiCreate to take parameters using EmojiParams struct.
    FedorLap2006 committed Jul 30, 2022
    Copy the full SHA
    a0df6c3 View commit details
    Browse the repository at this point in the history
  2. refactor(GuildEmojiEdit)!: use struct params

    Refactor GuildEmojiEdit to take parameters using EmojiParams struct.
    FedorLap2006 committed Jul 30, 2022
    Copy the full SHA
    de772a9 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2022

  1. refactor(GuildMemberAdd)!: use struct params

    Refactor GuildMemberAdd to take parameters using GuildMemberAddParams struct.
    FedorLap2006 committed Aug 7, 2022
    Copy the full SHA
    1dacbbb View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2022

  1. refactor(GuildTemplateEdit)!: use struct params

    Refactor GuildTemplateEdit to take parameters using GuildTemplateParams struct.
    FedorLap2006 committed Aug 12, 2022
    Copy the full SHA
    fa79cf4 View commit details
    Browse the repository at this point in the history
  2. refactor(GuildTemplateCreate)!: use struct params

    Refactor GuildTemplateCreate to take parameters using GuildTemplateParams struct.
    FedorLap2006 committed Aug 12, 2022
    Copy the full SHA
    6193350 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2022

  1. chore(rest)!: use pointers for Params structs

    Refactor methods with Params struct to use pointers
    FedorLap2006 committed Aug 17, 2022
    Copy the full SHA
    cd25316 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    8fb23f2 View commit details
    Browse the repository at this point in the history