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

feat(Managers): ✨ Add GuildInviteManager #5889

Merged
merged 36 commits into from Jul 4, 2021

Commits on Jun 20, 2021

  1. feat(Managers): ✨ Add GuildInviteManager

    The InviteManager was missing, this new Manager comes with some extra features
    - Invites generation from Guild based on the first accessible channel
    - Invite deletion outside of an Invite instance
    - Fetch a single invite with cache filling to avoid unnecessary future requests (force option is available)
    DraftProducts committed Jun 20, 2021
    Configuration menu
    Copy the full SHA
    ed777ff View commit details
    Browse the repository at this point in the history
  2. types(GuildInviteManager) Fix pluralization of class name in typings

    Co-authored-by: iShibi <shubhamparihar391@gmail.com>
    DraftProducts and iShibi committed Jun 20, 2021
    Configuration menu
    Copy the full SHA
    9f6f82e View commit details
    Browse the repository at this point in the history
  3. refactor: 💬 Adds literary corrections

    Correction of docs and errors messages
    
    Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
    DraftProducts and vladfrangu committed Jun 20, 2021
    Configuration menu
    Copy the full SHA
    c576e4b View commit details
    Browse the repository at this point in the history
  4. refactor: 🥅 Transform sync errors to Promise rejections

    Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
    DraftProducts and vladfrangu committed Jun 20, 2021
    Configuration menu
    Copy the full SHA
    f97bcc5 View commit details
    Browse the repository at this point in the history
  5. fix: 🐛 Remove mutating in case of options is a frozen object

    Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
    DraftProducts and vladfrangu committed Jun 20, 2021
    Configuration menu
    Copy the full SHA
    921c81f View commit details
    Browse the repository at this point in the history
  6. types: 🏷️ Replace InviteOptions with CreateInviteOptions

    Co-authored-by: iShibi <shubhamparihar391@gmail.com>
    DraftProducts and iShibi committed Jun 20, 2021
    Configuration menu
    Copy the full SHA
    8bfd39a View commit details
    Browse the repository at this point in the history
  7. refactor(Errors): 🥅 Change "unknown invite" error to avoid confusion …

    …with APIErrors
    
    Co-authored-by: iShibi <shubhamparihar391@gmail.com>
    DraftProducts and iShibi committed Jun 20, 2021
    Configuration menu
    Copy the full SHA
    3bc3be9 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2021

  1. fix(Errors): Update quotes & formulation

    Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com>
    DraftProducts and NotSugden committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    1890cd1 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2021

  1. docs: Provide more details in docs about invite creation

    Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
    DraftProducts and vladfrangu committed Jun 22, 2021
    Configuration menu
    Copy the full SHA
    8b727b8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    186b152 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ae9916d View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2021

  1. refactor: Change [] to ()

    Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
    DraftProducts and vladfrangu committed Jun 23, 2021
    Configuration menu
    Copy the full SHA
    edced3a View commit details
    Browse the repository at this point in the history
  2. style: 🚨 Lint suggest & typings

    Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
    DraftProducts and vladfrangu committed Jun 23, 2021
    Configuration menu
    Copy the full SHA
    357dd09 View commit details
    Browse the repository at this point in the history
  3. refactor: Some suggested corrections on typings & typedoc

    Co-authored-by: Antonio Román <kyradiscord@gmail.com>
    DraftProducts and kyranet committed Jun 23, 2021
    Configuration menu
    Copy the full SHA
    8aacbd9 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2021

  1. refactor: ♻️ Change return value of delete method to void

    Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
    DraftProducts and vladfrangu committed Jun 24, 2021
    Configuration menu
    Copy the full SHA
    4d1cbf0 View commit details
    Browse the repository at this point in the history
  2. fix: 📝 Remove uncertain return value of doc

    Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
    DraftProducts and vladfrangu committed Jun 24, 2021
    Configuration menu
    Copy the full SHA
    0900a51 View commit details
    Browse the repository at this point in the history
  3. fix: 🐛 If "options" is a string, it's not needed to continue

    Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com>
    DraftProducts and NotSugden committed Jun 24, 2021
    Configuration menu
    Copy the full SHA
    dcacf1c View commit details
    Browse the repository at this point in the history
  4. perf: ⚡️ Remove double channel resolution

    Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com>
    DraftProducts and NotSugden committed Jun 24, 2021
    Configuration menu
    Copy the full SHA
    92e74ef View commit details
    Browse the repository at this point in the history
  5. perf: ⚡️ Use Permissions flags instead of string

    Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com>
    DraftProducts and NotSugden committed Jun 24, 2021
    Configuration menu
    Copy the full SHA
    ddbb26d View commit details
    Browse the repository at this point in the history
  6. types: 🏷️ Change GuildChannel to GuildChannelResolvable

    Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com>
    DraftProducts and NotSugden committed Jun 24, 2021
    Configuration menu
    Copy the full SHA
    e2992b6 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2021

  1. Configuration menu
    Copy the full SHA
    6baef14 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2021

  1. refactor(Guild): 🔥 Remove 'Guild#fetchInvites' method

    BREAKING CHANGE: The 'Guild#fetchInvites' method has been removed.
    
    Co-authored-by: SpaceEEC <SpaceEEC@users.noreply.github.com>
    DraftProducts and SpaceEEC committed Jun 27, 2021
    Configuration menu
    Copy the full SHA
    546a73c View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2021

  1. refactor: ♻️ Refactor of review

    - Separate channel of options
    - Move invite creation from channel to manager
    - Update typings for separated options
    
    Co-authored-by: Antonio Román <kyradiscord@gmail.com>
    DraftProducts and kyranet committed Jun 30, 2021
    Configuration menu
    Copy the full SHA
    8173ad0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a189ae6 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2021

  1. refactor(Errors): Remove unused errors

    Co-authored-by: SpaceEEC <spaceeec@yahoo.com>
    DraftProducts and SpaceEEC committed Jul 3, 2021
    Configuration menu
    Copy the full SHA
    d12db15 View commit details
    Browse the repository at this point in the history
  2. docs(GuildInviteManager): 📝 Correct errors in typedoc descriptions

    Co-authored-by: SpaceEEC <spaceeec@yahoo.com>
    DraftProducts and SpaceEEC committed Jul 3, 2021
    Configuration menu
    Copy the full SHA
    d713efb View commit details
    Browse the repository at this point in the history
  3. refactor: ♻️ Remove useless type check

    Co-authored-by: Antonio Román <kyradiscord@gmail.com>
    DraftProducts and kyranet committed Jul 3, 2021
    Configuration menu
    Copy the full SHA
    7844337 View commit details
    Browse the repository at this point in the history
  4. docs(GuildInviteManager): Simplification of typedoc return schem

    Co-authored-by: Antonio Román <kyradiscord@gmail.com>
    DraftProducts and kyranet committed Jul 3, 2021
    Configuration menu
    Copy the full SHA
    c735461 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bff9de7 View commit details
    Browse the repository at this point in the history
  6. docs(GuildInviteManager): 🏷️ Fix cache option typing

    Co-authored-by: Antonio Román <kyradiscord@gmail.com>
    DraftProducts and kyranet committed Jul 3, 2021
    Configuration menu
    Copy the full SHA
    70423b6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a1d8509 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8bc7fd6 View commit details
    Browse the repository at this point in the history
  9. feat(GuildChannel): ✨ Add cache option to GuildChannel#fetchInvites

    Co-authored-by: SpaceEEC <spaceeec@yahoo.com>
    DraftProducts and SpaceEEC committed Jul 3, 2021
    Configuration menu
    Copy the full SHA
    5be49e9 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2021

  1. Configuration menu
    Copy the full SHA
    bb0b368 View commit details
    Browse the repository at this point in the history
  2. refactor(GuildInviteManager): ♻️ Add changes due to methods changes

    Co-authored-by: iCrawl <icrawltogo@gmail.com>
    DraftProducts and iCrawl committed Jul 4, 2021
    Configuration menu
    Copy the full SHA
    3135046 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bdcceb0 View commit details
    Browse the repository at this point in the history