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 achievementId: MinorParameter[String]
  5. val addGuildMember: (GuildId, UserId) => RequestRoute
  6. val addGuildMemberRole: (GuildId, UserId, RoleId) => RequestRoute
  7. val addPinnedChannelMessage: (ChannelId, MessageId) => RequestRoute
  8. val addThreadMember: (ChannelId, UserId) => RequestRoute
  9. val applicationAchievementIconImage: (ApplicationId, String, String, ImageFormat, Option[Int]) => RequestRoute
  10. val applicationAssetImage: (ApplicationId, String, ImageFormat, Option[Int]) => RequestRoute
  11. val applicationCoverImage: (ApplicationId, ImageFormat, Option[Int]) => RequestRoute
  12. val applicationIconImage: (ApplicationId, ImageFormat, Option[Int]) => RequestRoute
  13. val applicationId: MinorParameter[ApplicationId]
  14. val archivedThreads: RouteFunction[ChannelId]
  15. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  16. val assetId: MinorParameter[String]
  17. val base: Route
  18. val beforeTimestampQuery: QueryParameter[OffsetDateTime]
  19. val beginGuildPrune: (GuildId) => RequestRoute
  20. val botGateway: Route
  21. val bulkDeleteMessages: (ChannelId) => RequestRoute
  22. val cdn: Route
  23. val channel: RouteFunction[ChannelId]
  24. val channelId: MajorParameter[ChannelId]
  25. val channelInvites: RouteFunction[ChannelId]
  26. val channelMessage: RouteFunction[(ChannelId, MessageId)]
  27. val channelMessages: RouteFunction[ChannelId]
  28. val channelPermissions: RouteFunction[(ChannelId, UserOrRoleId)]
  29. val channelPinnedMessage: RouteFunction[(ChannelId, MessageId)]
  30. val channelThreads: RouteFunction[ChannelId]
  31. val channelWebhooks: RouteFunction[ChannelId]
  32. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  33. val createChannelInvites: (ChannelId) => RequestRoute
  34. val createDM: RequestRoute
  35. val createGuild: RequestRoute
  36. val createGuildChannel: (GuildId) => RequestRoute
  37. val createGuildEmoji: (GuildId) => RequestRoute
  38. val createGuildFromTemplate: (String) => RequestRoute
  39. val createGuildIntegrations: (GuildId) => RequestRoute
  40. val createGuildMemberBan: (GuildId, UserId) => RequestRoute
  41. val createGuildRole: (GuildId) => RequestRoute
  42. val createGuildScheduledEvent: (GuildId) => RequestRoute
  43. val createGuildSticker: (GuildId) => RequestRoute
  44. val createMessage: (ChannelId) => RequestRoute
  45. val createReaction: (ChannelId, MessageId, Emoji) => RequestRoute
  46. val createStageInstance: RequestRoute
  47. val createWebhook: (ChannelId) => RequestRoute
  48. val crosspostMessage: (ChannelId, MessageId) => RequestRoute
  49. val currentUser: Route
  50. val currentUserGuilds: Route
  51. val daysQuery: QueryParameter[Int]
  52. val defaultUserAvatarImage: (Int, ImageFormat, Option[Int]) => RequestRoute
  53. val deleteAllReactions: (ChannelId, MessageId) => RequestRoute
  54. val deleteAllReactionsForEmoji: (ChannelId, MessageId, String) => RequestRoute
  55. val deleteChannelPermissions: (ChannelId, UserOrRoleId) => RequestRoute
  56. val deleteCloseChannel: (ChannelId) => RequestRoute
  57. val deleteGuild: (GuildId) => RequestRoute
  58. val deleteGuildEmoji: (GuildId, EmojiId) => RequestRoute
  59. val deleteGuildIntegration: (GuildId, IntegrationId) => RequestRoute
  60. val deleteGuildRole: (GuildId, RoleId) => RequestRoute
  61. val deleteGuildScheduledEvent: (GuildId, SnowflakeType[GuildScheduledEvent]) => RequestRoute
  62. val deleteGuildSticker: (GuildId, StickerId) => RequestRoute
  63. val deleteGuildTemplate: (GuildId, String) => RequestRoute
  64. val deleteInvite: (InviteCode) => RequestRoute
  65. val deleteMessage: (ChannelId, MessageId) => RequestRoute
  66. val deleteOriginalWebhookMessage: (SnowflakeType[Webhook], String) => RequestRoute
  67. val deleteOwnReaction: (ChannelId, MessageId, Emoji) => RequestRoute
  68. val deletePinnedChannelMessage: (ChannelId, MessageId) => RequestRoute
  69. val deleteStageInstance: (StageGuildChannelId) => RequestRoute
  70. val deleteUserReaction: (ChannelId, MessageId, Emoji, UserId) => RequestRoute
  71. val deleteWebhook: (SnowflakeType[Webhook]) => RequestRoute
  72. val deleteWebhookMessage: (SnowflakeType[Webhook], String, MessageId, Option[ThreadGuildChannelId]) => RequestRoute
  73. val deleteWebhookWithToken: (SnowflakeType[Webhook], String) => RequestRoute
  74. val discord: String
  75. val discordCdn: String
  76. val discoverySplashImage: (GuildId, String, ImageFormat, Option[Int]) => RequestRoute
  77. val discriminator: MinorParameter[Int]
  78. val editChannelPermissions: (ChannelId, UserOrRoleId) => RequestRoute
  79. val editMessage: (ChannelId, MessageId) => RequestRoute
  80. val editOriginalWebhookMessage: (SnowflakeType[Webhook], String) => RequestRoute
  81. val editWebhookMessage: (SnowflakeType[Webhook], String, MessageId, Option[ThreadGuildChannelId]) => RequestRoute
  82. val emoji: MinorParameter[Emoji]
  83. val emojiId: MinorParameter[EmojiId]
  84. val emojiImage: (EmojiId, ImageFormat, Option[Int]) => RequestRoute
  85. val emojiReactions: RouteFunction[((ChannelId, MessageId), Emoji)]
  86. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  87. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  88. val executeGithubWebhook: (SnowflakeType[Webhook], String, Option[Boolean]) => RequestRoute
  89. val executeSlackWebhook: (SnowflakeType[Webhook], String, Option[Boolean]) => RequestRoute
  90. val executeWebhook: (SnowflakeType[Webhook], String, Option[Boolean], Option[ThreadGuildChannelId]) => RequestRoute
  91. val extension: ConcatParameter[ImageFormat]
  92. val followNewsChannel: (ChannelId) => RequestRoute
  93. val gateway: Route
  94. val getChannel: (ChannelId) => RequestRoute
  95. val getChannelInvites: (ChannelId) => RequestRoute
  96. val getChannelMessage: (ChannelId, MessageId) => RequestRoute
  97. val getChannelMessages: (ChannelId) => RequestRoute
  98. val getChannelWebhooks: (ChannelId) => RequestRoute
  99. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  100. val getCurrentApplication: RequestRoute
  101. val getCurrentAuthorizationInformation: RequestRoute
  102. val getCurrentUser: RequestRoute
  103. val getCurrentUserGuilds: (Option[GuildId], Option[GuildId], Option[Int]) => RequestRoute
  104. val getGuild: (GuildId, Option[Boolean]) => RequestRoute
  105. val getGuildAuditLogs: (GuildId, Option[UserId], Option[AuditLogEvent], Option[RawSnowflake], Option[Int]) => RequestRoute
  106. val getGuildBan: (GuildId, UserId) => RequestRoute
  107. val getGuildBans: (GuildId) => RequestRoute
  108. val getGuildChannels: (GuildId) => RequestRoute
  109. val getGuildEmoji: (GuildId, EmojiId) => RequestRoute
  110. val getGuildIntegrations: (GuildId) => RequestRoute
  111. val getGuildInvites: (GuildId) => RequestRoute
  112. val getGuildMember: (GuildId, UserId) => RequestRoute
  113. val getGuildPreview: (GuildId) => RequestRoute
  114. val getGuildPruneCount: (GuildId, Option[Int], Option[Seq[RoleId]]) => RequestRoute
  115. val getGuildRole: (GuildId) => RequestRoute
  116. val getGuildScheduledEvent: (GuildId, SnowflakeType[GuildScheduledEvent]) => RequestRoute
  117. val getGuildScheduledEventUsers: (GuildId, SnowflakeType[GuildScheduledEvent], Option[Int], Option[Boolean], Option[UserId], Option[UserId]) => RequestRoute
  118. val getGuildSticker: (GuildId, StickerId) => RequestRoute
  119. val getGuildTemplates: (GuildId) => RequestRoute
  120. val getGuildVanityUrl: (GuildId) => RequestRoute
  121. val getGuildVoiceRegions: (GuildId) => RequestRoute
  122. val getGuildWebhooks: (GuildId) => RequestRoute
  123. val getGuildWelcomeScreen: (GuildId) => RequestRoute
  124. val getGuildWidget: (GuildId) => RequestRoute
  125. val getGuildWidgetImage: (GuildId, Option[WidgetImageStyle]) => RequestRoute
  126. val getGuildWidgetJson: (GuildId) => RequestRoute
  127. val getInvite: (InviteCode, Option[Boolean], Option[Boolean], Option[SnowflakeType[GuildScheduledEvent]]) => RequestRoute
  128. val getOriginalWebhookMessage: (SnowflakeType[Webhook], String) => RequestRoute
  129. val getPinnedMessage: (ChannelId) => RequestRoute
  130. val getReactions: (ChannelId, MessageId, Emoji, Option[UserId], Option[Int]) => RequestRoute
  131. val getStageInstance: (StageGuildChannelId) => RequestRoute
  132. val getSticker: (StickerId) => RequestRoute
  133. val getTemplate: (String) => RequestRoute
  134. val getThreadMember: (ChannelId, UserId) => RequestRoute
  135. val getUser: (UserId) => RequestRoute
  136. val getUserConnections: RequestRoute
  137. val getWebhook: (SnowflakeType[Webhook]) => RequestRoute
  138. val getWebhookMessage: (SnowflakeType[Webhook], String, MessageId, Option[ThreadGuildChannelId]) => RequestRoute
  139. val getWebhookWithToken: (SnowflakeType[Webhook], String) => RequestRoute
  140. val groupDmAddRecipient: (ChannelId, UserId) => RequestRoute
  141. val groupDmRecipient: RouteFunction[(ChannelId, UserId)]
  142. val groupDmRemoveRecipient: (ChannelId, UserId) => RequestRoute
  143. val guild: RouteFunction[GuildId]
  144. val guildBannerImage: (GuildId, String, ImageFormat, Option[Int]) => RequestRoute
  145. val guildBans: RouteFunction[GuildId]
  146. val guildChannels: RouteFunction[GuildId]
  147. val guildEmoji: RouteFunction[(GuildId, EmojiId)]
  148. val guildEmojis: RouteFunction[GuildId]
  149. val guildIconImage: (GuildId, String, ImageFormat, Option[Int]) => RequestRoute
  150. val guildId: MajorParameter[GuildId]
  151. val guildIntegration: RouteFunction[(GuildId, IntegrationId)]
  152. val guildIntegrations: RouteFunction[GuildId]
  153. val guildMember: RouteFunction[(GuildId, UserId)]
  154. val guildMemberBan: RouteFunction[(GuildId, UserId)]
  155. val guildMemberRole: RouteFunction[((GuildId, UserId), RoleId)]
  156. val guildMembers: RouteFunction[GuildId]
  157. val guildPrune: RouteFunction[GuildId]
  158. val guildRole: RouteFunction[(GuildId, RoleId)]
  159. val guildRoles: RouteFunction[GuildId]
  160. val guildScheduledEvent: RouteFunction[(GuildId, SnowflakeType[GuildScheduledEvent])]
  161. val guildScheduledEventId: MinorParameter[SnowflakeType[GuildScheduledEvent]]
  162. val guildScheduledEvents: RouteFunction[GuildId]
  163. val guildSplashImage: (GuildId, String, ImageFormat, Option[Int]) => RequestRoute
  164. val guildSticker: RouteFunction[(GuildId, StickerId)]
  165. val guildStickers: RouteFunction[GuildId]
  166. val guildTemplate: RouteFunction[(GuildId, String)]
  167. val guildTemplates: RouteFunction[GuildId]
  168. val guildVoiceStates: RouteFunction[GuildId]
  169. val guildWelcomeScreen: RouteFunction[GuildId]
  170. val guildWidget: RouteFunction[GuildId]
  171. val guilds: Route
  172. val hash: MinorParameter[String]
  173. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  174. val includeRolesQuery: QueryParameter[Seq[RoleId]]
  175. val integrationId: MinorParameter[IntegrationId]
  176. val inviteCode: RouteFunction[String]
  177. val inviteCodeParam: MinorParameter[String]
  178. val invites: Route
  179. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  180. val joinThread: (ChannelId) => RequestRoute
  181. val leaveGuild: (GuildId) => RequestRoute
  182. val leaveThread: (ChannelId) => RequestRoute
  183. val limitQuery: QueryParameter[Int]
  184. val listActiveChannelThreads: (ChannelId) => RequestRoute
  185. val listActiveGuildThreads: (GuildId) => RequestRoute
  186. val listGuildEmojis: (GuildId) => RequestRoute
  187. val listGuildMembers: (GuildId, Option[Int], Option[UserId]) => RequestRoute
  188. val listGuildStickers: (GuildId) => RequestRoute
  189. val listJoinedPrivateArchivedThreads: (ChannelId, Option[OffsetDateTime], Option[Int]) => RequestRoute
  190. val listNitroStickerPacks: RequestRoute
  191. val listPrivateArchivedThreads: (ChannelId, Option[OffsetDateTime], Option[Int]) => RequestRoute
  192. val listPublicArchivedThreads: (ChannelId, Option[OffsetDateTime], Option[Int]) => RequestRoute
  193. val listScheduledEventsForGuild: (GuildId, Option[Boolean]) => RequestRoute
  194. val listThreadMembers: (ChannelId) => RequestRoute
  195. val listVoiceRegions: RequestRoute
  196. val messageId: MinorParameter[MessageId]
  197. val messagesWebhook: RouteFunction[(SnowflakeType[Webhook], String)]
  198. val modifyChannel: (ChannelId) => RequestRoute
  199. val modifyCurrentMember: (GuildId) => RequestRoute
  200. val modifyCurrentUser: RequestRoute
  201. val modifyGuild: (GuildId) => RequestRoute
  202. val modifyGuildChannelsPositions: (GuildId) => RequestRoute
  203. val modifyGuildEmoji: (GuildId, EmojiId) => RequestRoute
  204. val modifyGuildIntegration: (GuildId, IntegrationId) => RequestRoute
  205. val modifyGuildMember: (GuildId, UserId) => RequestRoute
  206. val modifyGuildRole: (GuildId, RoleId) => RequestRoute
  207. val modifyGuildRolePositions: (GuildId) => RequestRoute
  208. val modifyGuildScheduledEvent: (GuildId, SnowflakeType[GuildScheduledEvent]) => RequestRoute
  209. val modifyGuildSticker: (GuildId, StickerId) => RequestRoute
  210. val modifyGuildWelcomeScreen: (GuildId) => RequestRoute
  211. val modifyGuildWidget: (GuildId) => RequestRoute
  212. val modifyMeReaction: RouteFunction[((ChannelId, MessageId), Emoji)]
  213. val modifyWebhook: (SnowflakeType[Webhook]) => RequestRoute
  214. val modifyWebhookWithToken: (SnowflakeType[Webhook], String) => RequestRoute
  215. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  216. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  217. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  218. val oAuth2: Route
  219. val oAuth2Authorize: Route
  220. val oAuth2Revoke: Route
  221. val oAuth2Token: Route
  222. val originalWebhookMessage: RouteFunction[(SnowflakeType[Webhook], String)]
  223. val patchGuildTemplate: (GuildId, String) => RequestRoute
  224. val permissionOverwriteId: MinorParameter[UserOrRoleId]
  225. val pinnedMessage: RouteFunction[ChannelId]
  226. val postFollowupMessage: (SnowflakeType[Webhook], String) => RequestRoute
  227. val postGuildTemplate: (GuildId) => RequestRoute
  228. val putGuildTemplate: (GuildId, String) => RequestRoute
  229. def query[A](name: String, print: (A) => String, requireFn: (A) => Unit = (_: A) => ()): QueryParameter[A]
  230. val reactions: RouteFunction[(ChannelId, MessageId)]
  231. val removeGuildMember: (GuildId, UserId) => RequestRoute
  232. val removeGuildMemberBan: (GuildId, UserId) => RequestRoute
  233. val removeGuildMemberRole: (GuildId, UserId, RoleId) => RequestRoute
  234. val removeThreadMember: (ChannelId, UserId) => RequestRoute
  235. val roleIconImage: (RoleId, String, ImageFormat, Option[Int]) => RequestRoute
  236. val roleId: MinorParameter[RoleId]
  237. val searchGuildMembers: (GuildId) => RequestRoute
  238. def seqQuery[A](name: String, print: (A) => String, requireFn: (A) => Unit = (_: A) => ()): SeqQueryParameter[A]
  239. val size: QueryParameter[Int]
  240. val stageChannelId: MinorParameter[StageGuildChannelId]
  241. val stageInstance: RouteFunction[StageGuildChannelId]
  242. val stageInstances: Route
  243. val startThreadWithMessage: (ChannelId, MessageId) => RequestRoute
  244. val startThreadWithoutMessage: (ChannelId) => RequestRoute
  245. val stickerId: MinorParameter[StickerId]
  246. val stickerImage: (StickerId, ImageFormat, Option[Int]) => RequestRoute
  247. val stickerPackBannerImage: (String, ImageFormat, Option[Int]) => RequestRoute
  248. val style: QueryParameter[WidgetImageStyle]
  249. val syncGuildIntegration: (GuildId, IntegrationId) => RequestRoute
  250. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  251. val teamIconImage: (SnowflakeType[Team], String, ImageFormat, Option[Int]) => RequestRoute
  252. val teamId: MinorParameter[SnowflakeType[Team]]
  253. val template: Route
  254. val templateCode: MinorParameter[String]
  255. val templateCodeRoute: RouteFunction[String]
  256. val threadIdQuery: QueryParameter[ThreadGuildChannelId]
  257. val threadMemberMe: RouteFunction[ChannelId]
  258. val threadMemberUser: RouteFunction[(ChannelId, UserId)]
  259. val threadMembers: RouteFunction[ChannelId]
  260. def toString(): String
    Definition Classes
    AnyRef → Any
  261. val triggerTyping: (ChannelId) => RequestRoute
  262. val updateCurrentUserVoiceState: (GuildId) => RequestRoute
  263. val updateStageInstance: (StageGuildChannelId) => RequestRoute
  264. val updateUserVoiceState: (GuildId, UserId) => RequestRoute
  265. val userAvatarImage: (UserId, String, ImageFormat, Option[Int]) => RequestRoute
  266. val userBannerImage: (UserId, String, ImageFormat, Option[Int]) => RequestRoute
  267. val userDMs: Route
  268. val userGuildAvatarImage: (GuildId, UserId, String, ImageFormat, Option[Int]) => RequestRoute
  269. val userId: MinorParameter[UserId]
  270. val users: Route
  271. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  272. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  273. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  274. val waitQuery: QueryParameter[Boolean]
  275. val webhook: RouteFunction[SnowflakeType[Webhook]]
  276. val webhookId: MinorParameter[SnowflakeType[Webhook]]
  277. val webhookMessage: QueryRouteFunction[(((SnowflakeType[Webhook], String), MessageId), Option[ThreadGuildChannelId])]
  278. val webhookToken: MajorParameter[String]
  279. val webhookWithToken: RouteFunction[(SnowflakeType[Webhook], String)]
  280. val withCountQuery: QueryParameter[Boolean]

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. val modifyCurrentNick: (GuildId) => RequestRoute
    Annotations
    @deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped