OptionCommand

io.github.pidoveproject.showdown.protocol.client.OptionCommand

Command related to user settings.

Attributes

Source
OptionCommand.scala
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

final case class Avatar(name: AvatarName)

Change current user's avatar.

Change current user's avatar.

Value parameters

name

the new avatar to take.

Attributes

Source
OptionCommand.scala
case case Away extends OptionCommand

Mark the current user as AFK.

Mark the current user as AFK.

Attributes

Source
OptionCommand.scala
case case Back extends OptionCommand

Mark the current user as available.

Mark the current user as available.

Attributes

Source
OptionCommand.scala
case case BlockChallenges extends OptionCommand

Do not accept challenges.

Do not accept challenges.

Attributes

Source
OptionCommand.scala
final case class BlockPrivateMessages(exceptGroup: Option[PrivateMessageGroup])

Block private messages.

Block private messages.

Value parameters

exceptGroup

the groups still allowed to PM the current user

Attributes

Source
OptionCommand.scala
case case Busy extends OptionCommand

Mark the current user as busy.

Mark the current user as busy.

Attributes

Source
OptionCommand.scala
case case ClearStatus extends OptionCommand

Clear the status message.

Clear the status message.

Attributes

Source
OptionCommand.scala
case case DoNotDisturb extends OptionCommand

Mark the current user as "do not disturb" and silence notifications.

Mark the current user as "do not disturb" and silence notifications.

Attributes

Source
OptionCommand.scala
final case class HideJoins(room: Option[RoomId])

Hide join messages.

Hide join messages.

Value parameters

room

the room to disable join messages from or all if absent.

Attributes

Source
OptionCommand.scala
final case class Ignore(user: Username)

Ignore a user.

Ignore a user.

Value parameters

user

the name of the user to ignore

Attributes

Source
OptionCommand.scala
final case class Nick(name: Option[Username])

Change username.

Change username.

Value parameters

name

the new username to take or reset if absent.

Attributes

Source
OptionCommand.scala
final case class ShowJoins(room: Option[RoomId])

Show join messages.

Show join messages.

Value parameters

room

the room to enable join messages from or all if absent.

Attributes

Source
OptionCommand.scala
final case class Status(note: String)

Set the current status.

Set the current status.

Value parameters

note

the status to display to other users.

Attributes

Source
OptionCommand.scala
final case class Timestamps(target: TimestampTarget, interval: TimeInterval)

Change timestamp preferences.

Change timestamp preferences.

Value parameters

interval

the new interval to set in target

target

the type or place to change

Attributes

Source
OptionCommand.scala
case case UnblockChallenges extends OptionCommand

Accept challenges

Accept challenges

Attributes

Source
OptionCommand.scala