Documentation
¶
Index ¶
- type Command
- type MafiaGame
- func (m *MafiaGame) Clear() string
- func (m *MafiaGame) Help() string
- func (m *MafiaGame) Join(playerID string) string
- func (m *MafiaGame) LeaderBoard() string
- func (m *MafiaGame) Score(playerID string) string
- func (m *MafiaGame) SetNumMafia(args []string) string
- func (m *MafiaGame) SetPrefix(args []string) string
- func (m *MafiaGame) Start(s *discordgo.Session) string
- func (m *MafiaGame) Vote(playerID string, args []string) string
- func (m *MafiaGame) Winner(args []string) string
- type MafiaPlayer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MafiaGame ¶
type MafiaGame struct { Guild string Prefix string Players []MafiaPlayer NumMafia int InProgress bool }
func (*MafiaGame) LeaderBoard ¶
func (*MafiaGame) SetNumMafia ¶
type MafiaPlayer ¶
type MafiaPlayer struct { ID string // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.