c

ackcord.syntax

AckCordSyntax

implicit final class AckCordSyntax extends AnyVal

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

Instance Constructors

  1. new AckCordSyntax(ackCord: AckCord.type)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def createGuild(name: String, region: Option[String] = None, 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[VoiceGuildChannelId] = None, afkTimeout: Option[Int] = None, systemChannelId: Option[TextGuildChannelId] = None): CreateGuild

    Create a new guild.

    Create a new guild. Bots can only have 10 guilds by default.

    name

    The name of the guild

    region

    The voice region for 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.

  6. def fetchChannel(channelId: ChannelId): GetChannel

    Fetch a channel by id.

  7. def fetchClientUser: GetCurrentUser.type

    Fetch the client user.

  8. 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.

  9. def fetchGuild(guildId: GuildId): GetGuild

    Fetch a guild by id.

  10. def fetchInvite(inviteCode: String, withCounts: Boolean = false): 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.

  11. def fetchUser(userId: UserId): GetUser

    Fetch a user by id.

  12. def fetchVoiceRegions: ListVoiceRegions.type

    Fetch a list of voice regions that can be used when creating a guild.

  13. def fetchWebhook(id: SnowflakeType[Webhook]): GetWebhook

    Fetch a webhook by id.

  14. 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.

  15. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def toString(): String
    Definition Classes
    Any

Deprecated Value Members

  1. 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

Inherited from AnyVal

Inherited from Any

Ungrouped