object Routes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Routes
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- class ConcatParameter[A] extends AnyRef
- 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 examplerust:232722868583006209
. If it's a normal emoji, it's encoded using percent encoding, for example%F0%9F%92%A9
. - type InviteCode = String
- class MajorParameter[A] extends AnyRef
- class MinorParameter[A] extends AnyRef
- class QueryParameter[A] extends AnyRef
- case class QueryRoute(uriWithMajor: String, uriWithoutMajor: String, applied: Uri, queryParts: Vector[(String, String)]) extends Product with Serializable
- case class QueryRouteFunction[A](route: (A) => QueryRoute) extends Product with Serializable
- case class Route(uriWithMajor: String, uriWithoutMajor: String, applied: Uri) extends Product with Serializable
- case class RouteFunction[A](route: (A) => Route) extends Product with Serializable
- class SeqQueryParameter[A] extends AnyRef
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val achievementId: MinorParameter[String]
- val addGuildMember: (GuildId, UserId) => RequestRoute
- val addGuildMemberRole: (GuildId, UserId, RoleId) => RequestRoute
- val addPinnedChannelMessage: (ChannelId, MessageId) => RequestRoute
- val addThreadMember: (ChannelId, UserId) => RequestRoute
- val applicationAchievementIconImage: (ApplicationId, String, String, ImageFormat, Option[Int]) => RequestRoute
- val applicationAssetImage: (ApplicationId, String, ImageFormat, Option[Int]) => RequestRoute
- val applicationCoverImage: (ApplicationId, ImageFormat, Option[Int]) => RequestRoute
- val applicationIconImage: (ApplicationId, ImageFormat, Option[Int]) => RequestRoute
- val applicationId: MinorParameter[ApplicationId]
- val archivedThreads: RouteFunction[ChannelId]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val assetId: MinorParameter[String]
- val base: Route
- val beforeTimestampQuery: QueryParameter[OffsetDateTime]
- val beginGuildPrune: (GuildId) => RequestRoute
- val botGateway: Route
- val bulkDeleteMessages: (ChannelId) => RequestRoute
- val cdn: Route
- val channel: RouteFunction[ChannelId]
- val channelId: MajorParameter[ChannelId]
- val channelInvites: RouteFunction[ChannelId]
- val channelMessage: RouteFunction[(ChannelId, MessageId)]
- val channelMessages: RouteFunction[ChannelId]
- val channelPermissions: RouteFunction[(ChannelId, UserOrRoleId)]
- val channelPinnedMessage: RouteFunction[(ChannelId, MessageId)]
- val channelThreads: RouteFunction[ChannelId]
- val channelWebhooks: RouteFunction[ChannelId]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- val createChannelInvites: (ChannelId) => RequestRoute
- val createDM: RequestRoute
- val createGuild: RequestRoute
- val createGuildChannel: (GuildId) => RequestRoute
- val createGuildEmoji: (GuildId) => RequestRoute
- val createGuildFromTemplate: (String) => RequestRoute
- val createGuildIntegrations: (GuildId) => RequestRoute
- val createGuildMemberBan: (GuildId, UserId) => RequestRoute
- val createGuildRole: (GuildId) => RequestRoute
- val createGuildScheduledEvent: (GuildId) => RequestRoute
- val createGuildSticker: (GuildId) => RequestRoute
- val createMessage: (ChannelId) => RequestRoute
- val createReaction: (ChannelId, MessageId, Emoji) => RequestRoute
- val createStageInstance: RequestRoute
- val createWebhook: (ChannelId) => RequestRoute
- val crosspostMessage: (ChannelId, MessageId) => RequestRoute
- val currentUser: Route
- val currentUserGuilds: Route
- val daysQuery: QueryParameter[Int]
- val defaultUserAvatarImage: (Int, ImageFormat, Option[Int]) => RequestRoute
- val deleteAllReactions: (ChannelId, MessageId) => RequestRoute
- val deleteAllReactionsForEmoji: (ChannelId, MessageId, String) => RequestRoute
- val deleteChannelPermissions: (ChannelId, UserOrRoleId) => RequestRoute
- val deleteCloseChannel: (ChannelId) => RequestRoute
- val deleteGuild: (GuildId) => RequestRoute
- val deleteGuildEmoji: (GuildId, EmojiId) => RequestRoute
- val deleteGuildIntegration: (GuildId, IntegrationId) => RequestRoute
- val deleteGuildRole: (GuildId, RoleId) => RequestRoute
- val deleteGuildScheduledEvent: (GuildId, SnowflakeType[GuildScheduledEvent]) => RequestRoute
- val deleteGuildSticker: (GuildId, StickerId) => RequestRoute
- val deleteGuildTemplate: (GuildId, String) => RequestRoute
- val deleteInvite: (InviteCode) => RequestRoute
- val deleteMessage: (ChannelId, MessageId) => RequestRoute
- val deleteOriginalWebhookMessage: (SnowflakeType[Webhook], String) => RequestRoute
- val deleteOwnReaction: (ChannelId, MessageId, Emoji) => RequestRoute
- val deletePinnedChannelMessage: (ChannelId, MessageId) => RequestRoute
- val deleteStageInstance: (StageGuildChannelId) => RequestRoute
- val deleteUserReaction: (ChannelId, MessageId, Emoji, UserId) => RequestRoute
- val deleteWebhook: (SnowflakeType[Webhook]) => RequestRoute
- val deleteWebhookMessage: (SnowflakeType[Webhook], String, MessageId, Option[ThreadGuildChannelId]) => RequestRoute
- val deleteWebhookWithToken: (SnowflakeType[Webhook], String) => RequestRoute
- val discord: String
- val discordCdn: String
- val discoverySplashImage: (GuildId, String, ImageFormat, Option[Int]) => RequestRoute
- val discriminator: MinorParameter[Int]
- val editChannelPermissions: (ChannelId, UserOrRoleId) => RequestRoute
- val editMessage: (ChannelId, MessageId) => RequestRoute
- val editOriginalWebhookMessage: (SnowflakeType[Webhook], String) => RequestRoute
- val editWebhookMessage: (SnowflakeType[Webhook], String, MessageId, Option[ThreadGuildChannelId]) => RequestRoute
- val emoji: MinorParameter[Emoji]
- val emojiId: MinorParameter[EmojiId]
- val emojiImage: (EmojiId, ImageFormat, Option[Int]) => RequestRoute
- val emojiReactions: RouteFunction[((ChannelId, MessageId), Emoji)]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val executeGithubWebhook: (SnowflakeType[Webhook], String, Option[Boolean]) => RequestRoute
- val executeSlackWebhook: (SnowflakeType[Webhook], String, Option[Boolean]) => RequestRoute
- val executeWebhook: (SnowflakeType[Webhook], String, Option[Boolean], Option[ThreadGuildChannelId]) => RequestRoute
- val extension: ConcatParameter[ImageFormat]
- val followNewsChannel: (ChannelId) => RequestRoute
- val gateway: Route
- val getChannel: (ChannelId) => RequestRoute
- val getChannelInvites: (ChannelId) => RequestRoute
- val getChannelMessage: (ChannelId, MessageId) => RequestRoute
- val getChannelMessages: (ChannelId) => RequestRoute
- val getChannelWebhooks: (ChannelId) => RequestRoute
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- val getCurrentApplication: RequestRoute
- val getCurrentAuthorizationInformation: RequestRoute
- val getCurrentUser: RequestRoute
- val getCurrentUserGuilds: (Option[GuildId], Option[GuildId], Option[Int]) => RequestRoute
- val getGuild: (GuildId, Option[Boolean]) => RequestRoute
- val getGuildAuditLogs: (GuildId, Option[UserId], Option[AuditLogEvent], Option[RawSnowflake], Option[Int]) => RequestRoute
- val getGuildBan: (GuildId, UserId) => RequestRoute
- val getGuildBans: (GuildId) => RequestRoute
- val getGuildChannels: (GuildId) => RequestRoute
- val getGuildEmoji: (GuildId, EmojiId) => RequestRoute
- val getGuildIntegrations: (GuildId) => RequestRoute
- val getGuildInvites: (GuildId) => RequestRoute
- val getGuildMember: (GuildId, UserId) => RequestRoute
- val getGuildPreview: (GuildId) => RequestRoute
- val getGuildPruneCount: (GuildId, Option[Int], Option[Seq[RoleId]]) => RequestRoute
- val getGuildRole: (GuildId) => RequestRoute
- val getGuildScheduledEvent: (GuildId, SnowflakeType[GuildScheduledEvent]) => RequestRoute
- val getGuildScheduledEventUsers: (GuildId, SnowflakeType[GuildScheduledEvent], Option[Int], Option[Boolean], Option[UserId], Option[UserId]) => RequestRoute
- val getGuildSticker: (GuildId, StickerId) => RequestRoute
- val getGuildTemplates: (GuildId) => RequestRoute
- val getGuildVanityUrl: (GuildId) => RequestRoute
- val getGuildVoiceRegions: (GuildId) => RequestRoute
- val getGuildWebhooks: (GuildId) => RequestRoute
- val getGuildWelcomeScreen: (GuildId) => RequestRoute
- val getGuildWidget: (GuildId) => RequestRoute
- val getGuildWidgetImage: (GuildId, Option[WidgetImageStyle]) => RequestRoute
- val getGuildWidgetJson: (GuildId) => RequestRoute
- val getInvite: (InviteCode, Option[Boolean], Option[Boolean], Option[SnowflakeType[GuildScheduledEvent]]) => RequestRoute
- val getOriginalWebhookMessage: (SnowflakeType[Webhook], String) => RequestRoute
- val getPinnedMessage: (ChannelId) => RequestRoute
- val getReactions: (ChannelId, MessageId, Emoji, Option[UserId], Option[Int]) => RequestRoute
- val getStageInstance: (StageGuildChannelId) => RequestRoute
- val getSticker: (StickerId) => RequestRoute
- val getTemplate: (String) => RequestRoute
- val getThreadMember: (ChannelId, UserId) => RequestRoute
- val getUser: (UserId) => RequestRoute
- val getUserConnections: RequestRoute
- val getWebhook: (SnowflakeType[Webhook]) => RequestRoute
- val getWebhookMessage: (SnowflakeType[Webhook], String, MessageId, Option[ThreadGuildChannelId]) => RequestRoute
- val getWebhookWithToken: (SnowflakeType[Webhook], String) => RequestRoute
- val groupDmAddRecipient: (ChannelId, UserId) => RequestRoute
- val groupDmRecipient: RouteFunction[(ChannelId, UserId)]
- val groupDmRemoveRecipient: (ChannelId, UserId) => RequestRoute
- val guild: RouteFunction[GuildId]
- val guildBannerImage: (GuildId, String, ImageFormat, Option[Int]) => RequestRoute
- val guildBans: RouteFunction[GuildId]
- val guildChannels: RouteFunction[GuildId]
- val guildEmoji: RouteFunction[(GuildId, EmojiId)]
- val guildEmojis: RouteFunction[GuildId]
- val guildIconImage: (GuildId, String, ImageFormat, Option[Int]) => RequestRoute
- val guildId: MajorParameter[GuildId]
- val guildIntegration: RouteFunction[(GuildId, IntegrationId)]
- val guildIntegrations: RouteFunction[GuildId]
- val guildMember: RouteFunction[(GuildId, UserId)]
- val guildMemberBan: RouteFunction[(GuildId, UserId)]
- val guildMemberRole: RouteFunction[((GuildId, UserId), RoleId)]
- val guildMembers: RouteFunction[GuildId]
- val guildPrune: RouteFunction[GuildId]
- val guildRole: RouteFunction[(GuildId, RoleId)]
- val guildRoles: RouteFunction[GuildId]
- val guildScheduledEvent: RouteFunction[(GuildId, SnowflakeType[GuildScheduledEvent])]
- val guildScheduledEventId: MinorParameter[SnowflakeType[GuildScheduledEvent]]
- val guildScheduledEvents: RouteFunction[GuildId]
- val guildSplashImage: (GuildId, String, ImageFormat, Option[Int]) => RequestRoute
- val guildSticker: RouteFunction[(GuildId, StickerId)]
- val guildStickers: RouteFunction[GuildId]
- val guildTemplate: RouteFunction[(GuildId, String)]
- val guildTemplates: RouteFunction[GuildId]
- val guildVoiceStates: RouteFunction[GuildId]
- val guildWelcomeScreen: RouteFunction[GuildId]
- val guildWidget: RouteFunction[GuildId]
- val guilds: Route
- val hash: MinorParameter[String]
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- val includeRolesQuery: QueryParameter[Seq[RoleId]]
- val integrationId: MinorParameter[IntegrationId]
- val inviteCode: RouteFunction[String]
- val inviteCodeParam: MinorParameter[String]
- val invites: Route
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val joinThread: (ChannelId) => RequestRoute
- val leaveGuild: (GuildId) => RequestRoute
- val leaveThread: (ChannelId) => RequestRoute
- val limitQuery: QueryParameter[Int]
- val listActiveChannelThreads: (ChannelId) => RequestRoute
- val listActiveGuildThreads: (GuildId) => RequestRoute
- val listGuildEmojis: (GuildId) => RequestRoute
- val listGuildMembers: (GuildId, Option[Int], Option[UserId]) => RequestRoute
- val listGuildStickers: (GuildId) => RequestRoute
- val listJoinedPrivateArchivedThreads: (ChannelId, Option[OffsetDateTime], Option[Int]) => RequestRoute
- val listNitroStickerPacks: RequestRoute
- val listPrivateArchivedThreads: (ChannelId, Option[OffsetDateTime], Option[Int]) => RequestRoute
- val listPublicArchivedThreads: (ChannelId, Option[OffsetDateTime], Option[Int]) => RequestRoute
- val listScheduledEventsForGuild: (GuildId, Option[Boolean]) => RequestRoute
- val listThreadMembers: (ChannelId) => RequestRoute
- val listVoiceRegions: RequestRoute
- val messageId: MinorParameter[MessageId]
- val messagesWebhook: RouteFunction[(SnowflakeType[Webhook], String)]
- val modifyChannel: (ChannelId) => RequestRoute
- val modifyCurrentMember: (GuildId) => RequestRoute
- val modifyCurrentUser: RequestRoute
- val modifyGuild: (GuildId) => RequestRoute
- val modifyGuildChannelsPositions: (GuildId) => RequestRoute
- val modifyGuildEmoji: (GuildId, EmojiId) => RequestRoute
- val modifyGuildIntegration: (GuildId, IntegrationId) => RequestRoute
- val modifyGuildMember: (GuildId, UserId) => RequestRoute
- val modifyGuildRole: (GuildId, RoleId) => RequestRoute
- val modifyGuildRolePositions: (GuildId) => RequestRoute
- val modifyGuildScheduledEvent: (GuildId, SnowflakeType[GuildScheduledEvent]) => RequestRoute
- val modifyGuildSticker: (GuildId, StickerId) => RequestRoute
- val modifyGuildWelcomeScreen: (GuildId) => RequestRoute
- val modifyGuildWidget: (GuildId) => RequestRoute
- val modifyMeReaction: RouteFunction[((ChannelId, MessageId), Emoji)]
- val modifyWebhook: (SnowflakeType[Webhook]) => RequestRoute
- val modifyWebhookWithToken: (SnowflakeType[Webhook], String) => RequestRoute
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- val oAuth2: Route
- val oAuth2Authorize: Route
- val oAuth2Revoke: Route
- val oAuth2Token: Route
- val originalWebhookMessage: RouteFunction[(SnowflakeType[Webhook], String)]
- val patchGuildTemplate: (GuildId, String) => RequestRoute
- val permissionOverwriteId: MinorParameter[UserOrRoleId]
- val pinnedMessage: RouteFunction[ChannelId]
- val postFollowupMessage: (SnowflakeType[Webhook], String) => RequestRoute
- val postGuildTemplate: (GuildId) => RequestRoute
- val putGuildTemplate: (GuildId, String) => RequestRoute
- def query[A](name: String, print: (A) => String, requireFn: (A) => Unit = (_: A) => ()): QueryParameter[A]
- val reactions: RouteFunction[(ChannelId, MessageId)]
- val removeGuildMember: (GuildId, UserId) => RequestRoute
- val removeGuildMemberBan: (GuildId, UserId) => RequestRoute
- val removeGuildMemberRole: (GuildId, UserId, RoleId) => RequestRoute
- val removeThreadMember: (ChannelId, UserId) => RequestRoute
- val roleIconImage: (RoleId, String, ImageFormat, Option[Int]) => RequestRoute
- val roleId: MinorParameter[RoleId]
- val searchGuildMembers: (GuildId) => RequestRoute
- def seqQuery[A](name: String, print: (A) => String, requireFn: (A) => Unit = (_: A) => ()): SeqQueryParameter[A]
- val size: QueryParameter[Int]
- val stageChannelId: MinorParameter[StageGuildChannelId]
- val stageInstance: RouteFunction[StageGuildChannelId]
- val stageInstances: Route
- val startThreadWithMessage: (ChannelId, MessageId) => RequestRoute
- val startThreadWithoutMessage: (ChannelId) => RequestRoute
- val stickerId: MinorParameter[StickerId]
- val stickerImage: (StickerId, ImageFormat, Option[Int]) => RequestRoute
- val stickerPackBannerImage: (String, ImageFormat, Option[Int]) => RequestRoute
- val style: QueryParameter[WidgetImageStyle]
- val syncGuildIntegration: (GuildId, IntegrationId) => RequestRoute
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val teamIconImage: (SnowflakeType[Team], String, ImageFormat, Option[Int]) => RequestRoute
- val teamId: MinorParameter[SnowflakeType[Team]]
- val template: Route
- val templateCode: MinorParameter[String]
- val templateCodeRoute: RouteFunction[String]
- val threadIdQuery: QueryParameter[ThreadGuildChannelId]
- val threadMemberMe: RouteFunction[ChannelId]
- val threadMemberUser: RouteFunction[(ChannelId, UserId)]
- val threadMembers: RouteFunction[ChannelId]
- def toString(): String
- Definition Classes
- AnyRef → Any
- val triggerTyping: (ChannelId) => RequestRoute
- val updateCurrentUserVoiceState: (GuildId) => RequestRoute
- val updateStageInstance: (StageGuildChannelId) => RequestRoute
- val updateUserVoiceState: (GuildId, UserId) => RequestRoute
- val userAvatarImage: (UserId, String, ImageFormat, Option[Int]) => RequestRoute
- val userBannerImage: (UserId, String, ImageFormat, Option[Int]) => RequestRoute
- val userDMs: Route
- val userGuildAvatarImage: (GuildId, UserId, String, ImageFormat, Option[Int]) => RequestRoute
- val userId: MinorParameter[UserId]
- val users: Route
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- val waitQuery: QueryParameter[Boolean]
- val webhook: RouteFunction[SnowflakeType[Webhook]]
- val webhookId: MinorParameter[SnowflakeType[Webhook]]
- val webhookMessage: QueryRouteFunction[(((SnowflakeType[Webhook], String), MessageId), Option[ThreadGuildChannelId])]
- val webhookToken: MajorParameter[String]
- val webhookWithToken: RouteFunction[(SnowflakeType[Webhook], String)]
- val withCountQuery: QueryParameter[Boolean]
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- val modifyCurrentNick: (GuildId) => RequestRoute
- Annotations
- @deprecated
- Deprecated