Packages

object Routes

All the routes used by AckCord

Source
Routes.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Routes
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. class ConcatParameter[A] extends AnyRef
  2. type Emoji = String

    Emoji is a bit more complicated than the others.

    Emoji is a bit more complicated than the others. If it's a custom emoji, the format is name:id for example rust:232722868583006209. If it's a normal emoji, it's encoded using percent encoding, for example %F0%9F%92%A9.

  3. type InviteCode = String
  4. class MajorParameter[A] extends AnyRef
  5. class MinorParameter[A] extends AnyRef
  6. class QueryParameter[A] extends AnyRef
  7. case class QueryRoute(uriWithMajor: String, uriWithoutMajor: String, applied: Uri, queryParts: Vector[(String, String)]) extends Product with Serializable
  8. case class QueryRouteFunction[A](route: (A) => QueryRoute) extends Product with Serializable
  9. case class Route(uriWithMajor: String, uriWithoutMajor: String, applied: Uri) extends Product with Serializable
  10. case class RouteFunction[A](route: (A) => Route) extends Product with Serializable
  11. class SeqQueryParameter[A] extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val addGuildMember: (GuildId, UserId) => RequestRoute
  5. val addGuildMemberRole: (GuildId, UserId, RoleId) => RequestRoute
  6. val addPinnedChannelMessage: (ChannelId, MessageId) => RequestRoute
  7. val applicationAssetImage: (RawSnowflake, String, ImageFormat, Option[Int]) => RequestRoute
  8. val applicationIconImage: (RawSnowflake, String, ImageFormat, Option[Int]) => RequestRoute
  9. val applicationId: MinorParameter[RawSnowflake]
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. val base: Route
  12. val beginGuildPrune: (GuildId) => RequestRoute
  13. val botGateway: Route
  14. val bulkDeleteMessages: (ChannelId) => RequestRoute
  15. val cdn: Route
  16. val channel: RouteFunction[ChannelId]
  17. val channelId: MajorParameter[ChannelId]
  18. val channelInvites: RouteFunction[ChannelId]
  19. val channelMessage: RouteFunction[(ChannelId, MessageId)]
  20. val channelMessages: RouteFunction[ChannelId]
  21. val channelPermissions: RouteFunction[(ChannelId, UserOrRoleId)]
  22. val channelPinnedMessage: RouteFunction[(ChannelId, MessageId)]
  23. val channelWebhooks: RouteFunction[ChannelId]
  24. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  25. val createChannelInvites: (ChannelId) => RequestRoute
  26. val createDM: RequestRoute
  27. val createGuild: RequestRoute
  28. val createGuildChannel: (GuildId) => RequestRoute
  29. val createGuildEmoji: (GuildId) => RequestRoute
  30. val createGuildFromTemplate: (String) => RequestRoute
  31. val createGuildIntegrations: (GuildId) => RequestRoute
  32. val createGuildMemberBan: (GuildId, UserId) => RequestRoute
  33. val createGuildRole: (GuildId) => RequestRoute
  34. val createMessage: (ChannelId) => RequestRoute
  35. val createReaction: (ChannelId, MessageId, Emoji) => RequestRoute
  36. val createWebhook: (ChannelId) => RequestRoute
  37. val crosspostMessage: (ChannelId, MessageId) => RequestRoute
  38. val currentUser: Route
  39. val currentUserGuilds: Route
  40. val daysQuery: QueryParameter[Int]
  41. val defaultUserAvatarImage: (Int, ImageFormat, Option[Int]) => RequestRoute
  42. val deleteAllReactions: (ChannelId, MessageId) => RequestRoute
  43. val deleteAllReactionsForEmoji: (ChannelId, MessageId, String) => RequestRoute
  44. val deleteChannelPermissions: (ChannelId, UserOrRoleId) => RequestRoute
  45. val deleteCloseChannel: (ChannelId) => RequestRoute
  46. val deleteGuild: (GuildId) => RequestRoute
  47. val deleteGuildEmoji: (GuildId, EmojiId) => RequestRoute
  48. val deleteGuildIntegration: (GuildId, IntegrationId) => RequestRoute
  49. val deleteGuildRole: (GuildId, RoleId) => RequestRoute
  50. val deleteInvite: (InviteCode) => RequestRoute
  51. val deleteMessage: (ChannelId, MessageId) => RequestRoute
  52. val deleteOwnReaction: (ChannelId, MessageId, Emoji) => RequestRoute
  53. val deletePinnedChannelMessage: (ChannelId, MessageId) => RequestRoute
  54. val deleteUserReaction: (ChannelId, MessageId, Emoji, UserId) => RequestRoute
  55. val deleteWebhook: (SnowflakeType[Webhook]) => RequestRoute
  56. val deleteWebhookWithToken: (SnowflakeType[Webhook], String) => RequestRoute
  57. val discord: String
  58. val discordCdn: String
  59. val discoverySplashImage: (GuildId, String, ImageFormat, Option[Int]) => RequestRoute
  60. val discriminator: MinorParameter[Int]
  61. val editChannelPermissions: (ChannelId, UserOrRoleId) => RequestRoute
  62. val editMessage: (ChannelId, MessageId) => RequestRoute
  63. val emoji: MinorParameter[Emoji]
  64. val emojiId: MinorParameter[EmojiId]
  65. val emojiImage: (EmojiId, ImageFormat, Option[Int]) => RequestRoute
  66. val emojiReactions: RouteFunction[((ChannelId, MessageId), Emoji)]
  67. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  68. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  69. val executeGithubWebhook: (SnowflakeType[Webhook], InviteCode, Option[Boolean]) => RequestRoute
  70. val executeSlackWebhook: (SnowflakeType[Webhook], InviteCode, Option[Boolean]) => RequestRoute
  71. val executeWebhook: (SnowflakeType[Webhook], InviteCode, Option[Boolean]) => RequestRoute
  72. val extension: ConcatParameter[ImageFormat]
  73. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  74. val followNewsChannel: (ChannelId) => RequestRoute
  75. val gateway: Route
  76. val getChannel: (ChannelId) => RequestRoute
  77. val getChannelInvites: (ChannelId) => RequestRoute
  78. val getChannelMessage: (ChannelId, MessageId) => RequestRoute
  79. val getChannelMessages: (ChannelId) => RequestRoute
  80. val getChannelWebhooks: (ChannelId) => RequestRoute
  81. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  82. val getCurrentApplication: RequestRoute
  83. val getCurrentUser: RequestRoute
  84. val getCurrentUserGuilds: (Option[GuildId], Option[GuildId], Option[Int]) => RequestRoute
  85. val getGuild: (GuildId, Option[Boolean]) => RequestRoute
  86. val getGuildAuditLogs: (GuildId, Option[UserId], Option[AuditLogEvent], Option[RawSnowflake], Option[Int]) => RequestRoute
  87. val getGuildBan: (GuildId, UserId) => RequestRoute
  88. val getGuildBans: (GuildId) => RequestRoute
  89. val getGuildChannels: (GuildId) => RequestRoute
  90. val getGuildEmoji: (GuildId, EmojiId) => RequestRoute
  91. val getGuildIntegrations: (GuildId, Option[Boolean]) => RequestRoute
  92. val getGuildInvites: (GuildId) => RequestRoute
  93. val getGuildMember: (GuildId, UserId) => RequestRoute
  94. val getGuildPreview: (GuildId) => RequestRoute
  95. val getGuildPruneCount: (GuildId, Option[Int], Option[Seq[RoleId]]) => RequestRoute
  96. val getGuildRole: (GuildId) => RequestRoute
  97. val getGuildVanityUrl: (GuildId) => RequestRoute
  98. val getGuildVoiceRegions: (GuildId) => RequestRoute
  99. val getGuildWebhooks: (GuildId) => RequestRoute
  100. val getGuildWidget: (GuildId) => RequestRoute
  101. val getGuildWidgetImage: (GuildId, Option[WidgetImageStyle]) => RequestRoute
  102. val getGuildWidgetJson: (GuildId) => RequestRoute
  103. val getInvite: (InviteCode) => RequestRoute
  104. val getPinnedMessage: (ChannelId) => RequestRoute
  105. val getReactions: (ChannelId, MessageId, Emoji, Option[UserId], Option[UserId], Option[Int]) => RequestRoute
  106. val getTemplate: (String) => RequestRoute
  107. val getUser: (UserId) => RequestRoute
  108. val getUserConnections: RequestRoute
  109. val getUserDMs: RequestRoute
  110. val getWebhook: (SnowflakeType[Webhook]) => RequestRoute
  111. val getWebhookWithToken: (SnowflakeType[Webhook], String) => RequestRoute
  112. val groupDmAddRecipient: (ChannelId, UserId) => RequestRoute
  113. val groupDmRecipient: RouteFunction[(ChannelId, UserId)]
  114. val groupDmRemoveRecipient: (ChannelId, UserId) => RequestRoute
  115. val guild: RouteFunction[GuildId]
  116. val guildBannerImage: (GuildId, String, ImageFormat, Option[Int]) => RequestRoute
  117. val guildBans: RouteFunction[GuildId]
  118. val guildChannels: RouteFunction[GuildId]
  119. val guildEmoji: RouteFunction[(GuildId, EmojiId)]
  120. val guildEmojis: RouteFunction[GuildId]
  121. val guildIconImage: (GuildId, String, ImageFormat, Option[Int]) => RequestRoute
  122. val guildId: MajorParameter[GuildId]
  123. val guildIntegration: RouteFunction[(GuildId, IntegrationId)]
  124. val guildIntegrations: RouteFunction[GuildId]
  125. val guildMember: RouteFunction[(GuildId, UserId)]
  126. val guildMemberBan: RouteFunction[(GuildId, UserId)]
  127. val guildMemberRole: RouteFunction[((GuildId, UserId), RoleId)]
  128. val guildMembers: RouteFunction[GuildId]
  129. val guildPrune: RouteFunction[GuildId]
  130. val guildRole: RouteFunction[(GuildId, RoleId)]
  131. val guildRoles: RouteFunction[GuildId]
  132. val guildSplashImage: (GuildId, String, ImageFormat, Option[Int]) => RequestRoute
  133. val guildWidget: RouteFunction[GuildId]
  134. val guilds: Route
  135. val hash: MinorParameter[String]
  136. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  137. val includeApplicationsQuery: QueryParameter[Boolean]
  138. val includeRolesQuery: QueryParameter[Seq[RoleId]]
  139. val integrationId: MinorParameter[IntegrationId]
  140. val inviteCode: RouteFunction[String]
  141. val inviteCodeParam: MinorParameter[String]
  142. val invites: Route
  143. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  144. val leaveGuild: (GuildId) => RequestRoute
  145. val listGuildEmojis: (GuildId) => RequestRoute
  146. val listGuildMembers: (GuildId, Option[Int], Option[UserId]) => RequestRoute
  147. val listVoiceRegions: RequestRoute
  148. val messageId: MinorParameter[MessageId]
  149. val modifyChannel: (ChannelId) => RequestRoute
  150. val modifyCurrentNick: (GuildId) => RequestRoute
  151. val modifyCurrentUser: RequestRoute
  152. val modifyGuild: (GuildId) => RequestRoute
  153. val modifyGuildChannelsPositions: (GuildId) => RequestRoute
  154. val modifyGuildEmoji: (GuildId, EmojiId) => RequestRoute
  155. val modifyGuildIntegration: (GuildId, IntegrationId) => RequestRoute
  156. val modifyGuildMember: (GuildId, UserId) => RequestRoute
  157. val modifyGuildRole: (GuildId, RoleId) => RequestRoute
  158. val modifyGuildRolePositions: (GuildId) => RequestRoute
  159. val modifyGuildWidget: (GuildId) => RequestRoute
  160. val modifyMeReaction: RouteFunction[((ChannelId, MessageId), Emoji)]
  161. val modifyWebhook: (SnowflakeType[Webhook]) => RequestRoute
  162. val modifyWebhookWithToken: (SnowflakeType[Webhook], String) => RequestRoute
  163. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  164. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  165. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  166. val oAuth2: Route
  167. val oAuth2Authorize: Route
  168. val oAuth2Revoke: Route
  169. val oAuth2Token: Route
  170. val permissionOverwriteId: MinorParameter[UserOrRoleId]
  171. val pinnedMessage: RouteFunction[ChannelId]
  172. def query[A](name: String, print: (A) => String, requireFn: (A) => Unit = (_: A) => ()): QueryParameter[A]
  173. val reactions: RouteFunction[(ChannelId, MessageId)]
  174. val removeGuildMember: (GuildId, UserId) => RequestRoute
  175. val removeGuildMemberBan: (GuildId, UserId) => RequestRoute
  176. val removeGuildMemberRole: (GuildId, UserId, RoleId) => RequestRoute
  177. val roleId: MinorParameter[RoleId]
  178. def seqQuery[A](name: String, print: (A) => String, requireFn: (A) => Unit = (_: A) => ()): SeqQueryParameter[A]
  179. val size: QueryParameter[Int]
  180. val style: QueryParameter[WidgetImageStyle]
  181. val syncGuildIntegration: (GuildId, IntegrationId) => RequestRoute
  182. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  183. val teamIconImage: (SnowflakeType[Team], String, ImageFormat, Option[Int]) => RequestRoute
  184. val teamId: MinorParameter[SnowflakeType[Team]]
  185. val template: Route
  186. val templateCode: MinorParameter[String]
  187. val templateCodeRoute: RouteFunction[String]
  188. def toString(): String
    Definition Classes
    AnyRef → Any
  189. val token: MinorParameter[String]
  190. val triggerTyping: (ChannelId) => RequestRoute
  191. def upcast[A, B >: A](a: A): B
  192. val userAvatarImage: (UserId, String, ImageFormat, Option[Int]) => RequestRoute
  193. val userDMs: Route
  194. val userId: MinorParameter[UserId]
  195. val users: Route
  196. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  197. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  198. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  199. val waitQuery: QueryParameter[Boolean]
  200. val webhook: RouteFunction[SnowflakeType[Webhook]]
  201. val webhookId: MajorParameter[SnowflakeType[Webhook]]
  202. val webhookWithToken: RouteFunction[(SnowflakeType[Webhook], String)]
  203. val withCountQuery: QueryParameter[Boolean]

Inherited from AnyRef

Inherited from Any

Ungrouped