Module bsstatus.status

Home to the Status class.

Classes

class Status (*args, **kwds)
Expand source code
class Status(IntEnum):
    """
    Enum representing different status states.

    Order here is important. The order of the states is used to determine
    the precedence of the state. The state with the highest value (latest in the listing)
    that is found from any status finder will be used.
    """

    # No idea
    Unknown = auto()

    # The user is available
    Available = auto()

    # The user is away
    Away = auto()

    # The user is busy
    Busy = auto()

    # The user should not be disturbed
    DoNotDisturb = auto()

Enum representing different status states.

Order here is important. The order of the states is used to determine the precedence of the state. The state with the highest value (latest in the listing) that is found from any status finder will be used.

Ancestors

  • enum.IntEnum
  • builtins.int
  • enum.ReprEnum
  • enum.Enum

Class variables

var Available
var Away
var Busy
var DoNotDisturb
var Unknown