Class

net.katsstuff.ackcord.syntax

AckCordSyntax

Related Doc: package syntax

Permalink

implicit final class AckCordSyntax extends AnyVal

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

Instance Constructors

  1. new AckCordSyntax(ackCord: AckCord.type)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def createGroupDM[Ctx](accessTokens: Seq[String], nicks: SnowflakeMap[User, String], context: Ctx = NotUsed: NotUsed): CreateGroupDm[Ctx]

    Permalink

    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.

  6. def createGuild[Ctx](name: String, region: String, icon: Option[ImageData], verificationLevel: VerificationLevel, defaultMessageNotifications: NotificationLevel, explicitContentFilter: FilterLevel, roles: Seq[Role], channels: Seq[CreateGuildChannelData], context: Ctx = NotUsed: NotUsed): CreateGuild[Ctx]

    Permalink

    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.

  7. def fetchChannel[Ctx](channelId: ChannelId, context: Ctx = NotUsed: NotUsed): GetChannel[Ctx]

    Permalink

    Fetch a channel by id.

  8. def fetchClientUser[Ctx](context: Ctx = NotUsed: NotUsed): GetCurrentUser[Ctx]

    Permalink

    Fetch the client user.

  9. def fetchCurrentUserGuilds[Ctx](before: Option[GuildId] = None, after: Option[GuildId] = None, limit: Option[Int] = None, context: Ctx = NotUsed: NotUsed): GetCurrentUserGuilds[Ctx]

    Permalink

    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.

  10. def fetchGuild[Ctx](guildId: GuildId, context: Ctx = NotUsed: NotUsed): GetGuild[Ctx]

    Permalink

    Fetch a guild by id.

  11. def fetchInvite[Ctx](inviteCode: String, withCounts: Boolean = false, context: Ctx = NotUsed: NotUsed): GetInvite[Ctx]

    Permalink

    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.

  12. def fetchUser[Ctx](userId: UserId, context: Ctx = NotUsed: NotUsed): GetUser[Ctx]

    Permalink

    Fetch a user by id.

  13. def fetchVoiceRegions[Ctx](context: Ctx = NotUsed: NotUsed): ListVoiceRegions[Ctx]

    Permalink

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

  14. def fetchWebhook[Ctx](id: SnowflakeType[Webhook], context: Ctx = NotUsed: NotUsed): GetWebhook[Ctx]

    Permalink

    Fetch a webhook by id.

  15. def fetchWebhookWithToken[Ctx](id: SnowflakeType[Webhook], token: String, context: Ctx = NotUsed: NotUsed): GetWebhookWithToken[Ctx]

    Permalink

    Fetch a webhook by id with token.

    Fetch a webhook by id with token. Doesn't require authentication.

  16. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped