Documentation
¶
Index ¶
- type BCDice
- func (b *BCDice) DieFeeder() feeder.DieFeeder
- func (b *BCDice) ExecuteBasicCommand(c string) (*command.Result, error)
- func (b *BCDice) ExecuteCommand(input string) (*command.Result, error)
- func (b *BCDice) ExecuteDiceBotCommand(c string) (*command.Result, error)
- func (b *BCDice) SetDiceBotByGameID(gameID string) error
- func (b *BCDice) SetDieFeeder(f feeder.DieFeeder)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BCDice ¶
type BCDice struct { // 設定されているダイスボット DiceBot dicebot.DiceBot // contains filtered or unexported fields }
BCDiceの全体動作を統括する構造体。
func (*BCDice) ExecuteBasicCommand ¶
ExecuteBasicCommand はBCDiceの基本コマンドを実行する。
func (*BCDice) ExecuteCommand ¶
ExecuteCommand は指定されたコマンドを実行する。
func (*BCDice) ExecuteDiceBotCommand ¶
ExecuteDiceBotCommand は設定されているダイスボットを使用して指定されたコマンドを実行する。
func (*BCDice) SetDiceBotByGameID ¶
SetDiceBotByGameID は、指定された識別子を持つゲームシステムのダイスボットを使用するよう設定する。
func (*BCDice) SetDieFeeder ¶
SetDieFeeder はダイス供給機を指定されたものに設定する。 合わせてダイスローラーも設定される。
Click to show internal directories.
Click to hide internal directories.