Documentation ¶
Index ¶
- Constants
- type AutoBlackjack
- type AutoBuy
- type AutoGift
- type AutoSell
- type AutoShare
- type AutoTidepod
- type BalanceCheck
- type Cluster
- type Commands
- type Compat
- type Config
- type Cooldown
- type CustomCommand
- type Duration
- type Features
- type Instance
- type MessageDelay
- type Shift
- type SuspicionAvoidance
- type Typing
Constants ¶
View Source
const ( ShiftStateActive = "active" ShiftStateDormant = "dormant" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoBlackjack ¶
type AutoTidepod ¶
type BalanceCheck ¶
type Config ¶
type CustomCommand ¶
type Duration ¶
type Duration struct { Base int `yaml:"base"` // A base duration in seconds. Variation int `yaml:"variation"` // A random value in seconds from [0,n) added to the base. }
Duration is not related to a time.Duration. It is a structure used in a Shift type.
type Features ¶
type Features struct { Commands Commands `yaml:"commands"` CustomCommands []CustomCommand `yaml:"custom_commands"` AutoBuy AutoBuy `yaml:"auto_buy"` AutoSell AutoSell `yaml:"auto_sell"` AutoGift AutoGift `yaml:"auto_gift"` AutoBlackjack AutoBlackjack `yaml:"auto_blackjack"` AutoTidepod AutoTidepod `yaml:"auto_tidepod"` BalanceCheck BalanceCheck `yaml:"balance_check"` LogToFile bool `yaml:"log_to_file"` VerboseLogToStdout bool `yaml:"verbose_log_to_stdout"` Debug bool `yaml:"debug"` }
type Instance ¶
type Instance struct { Token string `yaml:"token"` ChannelID string `yaml:"channel_id"` Features Features `yaml:"-"` SuspicionAvoidance SuspicionAvoidance `yaml:"-"` Shifts []Shift `yaml:"-"` }
type MessageDelay ¶
type SuspicionAvoidance ¶
type SuspicionAvoidance struct { Typing Typing `yaml:"typing"` MessageDelay MessageDelay `yaml:"message_delay"` }
Click to show internal directories.
Click to hide internal directories.