c

ackcord.gateway

GatewaySettings

case class GatewaySettings(token: String, largeThreshold: Int = 50, shardNum: Int = 0, shardTotal: Int = 1, idleSince: Option[Instant] = None, activities: Option[Seq[RawActivity]] = None, status: PresenceStatus = PresenceStatus.Online, afk: Boolean = false, guildSubscriptions: Boolean = true, intents: GatewayIntents = GatewayIntents.AllNonPrivileged, compress: Compress = Compress.ZLibStreamCompress) extends Product with Serializable

All the settings used by AckCord when connecting and similar

token

The token for the bot

largeThreshold

The large threshold

shardNum

The shard index of this

shardTotal

The amount of shards

idleSince

If the bot has been idle, set the time since

activities

Send an activity when connecting

status

The status to use when connecting

afk

If the bot should be afk when connecting

guildSubscriptions

If member presence events and similar should be received. AckCord has not been tested with this flag set to false. Continue with caution.

intents

Sets which events the gateway should send to the bot.

Source
GatewaySettings.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GatewaySettings
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new GatewaySettings(token: String, largeThreshold: Int = 50, shardNum: Int = 0, shardTotal: Int = 1, idleSince: Option[Instant] = None, activities: Option[Seq[RawActivity]] = None, status: PresenceStatus = PresenceStatus.Online, afk: Boolean = false, guildSubscriptions: Boolean = true, intents: GatewayIntents = GatewayIntents.AllNonPrivileged, compress: Compress = Compress.ZLibStreamCompress)

    token

    The token for the bot

    largeThreshold

    The large threshold

    shardNum

    The shard index of this

    shardTotal

    The amount of shards

    idleSince

    If the bot has been idle, set the time since

    activities

    Send an activity when connecting

    status

    The status to use when connecting

    afk

    If the bot should be afk when connecting

    guildSubscriptions

    If member presence events and similar should be received. AckCord has not been tested with this flag set to false. Continue with caution.

    intents

    Sets which events the gateway should send to the bot.

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 activities: Option[Seq[RawActivity]]
  5. val afk: Boolean
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. val compress: Compress
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. val guildSubscriptions: Boolean
  13. val idleSince: Option[Instant]
  14. val intents: GatewayIntents
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. val largeThreshold: Int
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def productElementNames: Iterator[String]
    Definition Classes
    Product
  21. val shardNum: Int
  22. val shardTotal: Int
  23. val status: PresenceStatus
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. val token: String
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped