Skip to content

v3: Add GET methods #16

Description

@Andre601

Methods required to update

getAll (Will be renamed to getBotInfo)

  • Remove RequestHandler#getAll(JDA)
  • RequestHandler#getAll(Long) to GetAction#getBotInfo(Long)
  • Remove RequestHandler#getAll(ShardManager)
  • RequestHandler#getAll(String) to GetAction#getBotInfo(String)

getBotInfo (Will be renamed to getBotListInfo)

  • Remove RequestHandler#getBotInfo(JDA, Site|String)
  • RequestHandler#getBotInfo(Long, Site|String) to GetAction#getBotListInfo(Long, Site|String)
  • Remove RequestHandler#getBotInfo(ShardManager, Site|String)
  • RequestHandler#getBotInfo(String, Site|String) to GetAction#getBotListInfo(String, Site|String)

getBotInfos (Will be renamed to getBotListInfo)

  • Remove RequestHandler#getBotInfos(JDA)
  • RequestHandler#getBotInfos(Long) to GetAction#getBotListInfo(Long)
  • Remove RequestHandler#getBotInfos(ShardManager)
  • RequestHandler#getBotInfos(String) to GetAction#getBotListInfo(String)

getBotlist

  • RequestHandler#getBotlist(String, Site|String) to GetAction#getBotlist(String, Site|String)

getBotlists

  • RequestHandler#getBotlists(String) to GetAction#getBotlists(String)

getOwners

  • Remove RequestHandler#getOwners(JDA)
  • RequestHandler#getOwners(Long) to GetAction#getOwners(Long)
  • Remove RequestHandler#getOwners(ShardManager)
  • RequestHandler#getOwners(String) to GetAction#getOwners(String)

New methods added

getInvite

  • GetAction#getInvite(Long)
  • GetAction#getInvite(String)

getServerCount

  • GetAction#getServerCount(Long)
  • GetAction#getServerCount(String)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions