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

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

Inherited from AnyRef

Inherited from Any

Ungrouped