implicit final class AckCordSyntax extends AnyVal
- Source
- syntax.scala
- Alphabetic
- By Inheritance
- AckCordSyntax
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def createGuild(name: String, icon: Option[ImageData] = None, verificationLevel: Option[VerificationLevel] = None, defaultMessageNotifications: Option[NotificationLevel] = None, explicitContentFilter: Option[FilterLevel] = None, roles: Option[Seq[Role]] = None, channels: Option[Seq[CreateGuildChannelData]] = None, afkChannelId: Option[NormalVoiceGuildChannelId] = None, afkTimeout: Option[Int] = None, systemChannelId: Option[TextGuildChannelId] = None, systemChannelFlags: Option[SystemChannelFlags] = None): CreateGuild
Create a new guild.
Create a new guild. Bots can only have 10 guilds by default.
- name
The name of the guild
- icon
The icon to use for the guild. Must be 128x128 jpeg.
- verificationLevel
The verification level to use for the guild.
- defaultMessageNotifications
The notification level to use for the guild.
- roles
The roles for the new guild. Note, here the snowflake is just a placeholder.
- channels
The channels for the new guild.
- systemChannelFlags
The flags for the system channel.
- def fetchChannel(channelId: ChannelId): GetChannel
Fetch a channel by id.
- def fetchClientUser: GetCurrentUser.type
Fetch the client user.
- def fetchCurrentUserGuilds(before: Option[GuildId] = None, after: Option[GuildId] = None, limit: Option[Int] = None): GetCurrentUserGuilds
Get the guilds of the client user.
Get the guilds of the client user.
- before
Get guilds before this id.
- after
Get guilds after this id.
- limit
The max amount of guilds to return.
- def fetchGuild(guildId: GuildId): GetGuild
Fetch a guild by id.
- def fetchInvite(inviteCode: String, withCounts: Boolean = false, withExpiration: Boolean = false, guildScheduledEventId: Option[SnowflakeType[GuildScheduledEvent]] = None): GetInvite
Fetch an invite by code.
Fetch an invite by code.
- inviteCode
The invite code.
- withCounts
If the returned invite object should return approximate counts for members and people online.
- withExpiration
If the invite should contain the expiration date.
- guildScheduledEventId
The guild scheduled event to include in the invite.
- def fetchUser(userId: UserId): GetUser
Fetch a user by id.
- def fetchVoiceRegions: ListVoiceRegions.type
Fetch a list of voice regions that can be used when creating a guild.
- def fetchWebhook(id: SnowflakeType[Webhook]): GetWebhook
Fetch a webhook by id.
- def fetchWebhookWithToken(id: SnowflakeType[Webhook], token: String): GetWebhookWithToken
Fetch a webhook by id with token.
Fetch a webhook by id with token. Doesn't require authentication.
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def toString(): String
- Definition Classes
- Any
Deprecated Value Members
- def createGroupDM(accessTokens: Seq[String], nicks: SnowflakeMap[User, String]): CreateGroupDm
Create a group DM to a few users.
Create a group DM to a few users.
- accessTokens
The access tokens of users that have granted the bot the
gdm.join
scope.- nicks
A map specifying the nicknames for the users in this group DM.
- Annotations
- @deprecated
- Deprecated
(Since version 0.13) Deprecated by Discord