Documentation ¶
Index ¶
- Constants
- func GetMikeyYears() string
- func GetQuery(query string) *sql.Rows
- func GetRand(max int) int
- func GetShmeckles(userId string)
- func Max(x int, y int) int
- func Min(x int, y int) int
- func ParseCommandLine(command string) ([]string, error)
- func ParseLine(s *discordgo.Session, m *discordgo.MessageCreate) (args []string)
- func PrintDir()
- type Argument
- type BankBalance
- type Command
- type CommandGroup
- type Function
- type ScheduledEvent
Constants ¶
View Source
const ( AtPrefix = "@" CmdPrefix = "!" )
View Source
const (
MikeyBday = "1995-09-14"
)
Variables ¶
This section is empty.
Functions ¶
func GetMikeyYears ¶
func GetMikeyYears() string
func GetShmeckles ¶
func GetShmeckles(userId string)
func ParseCommandLine ¶
Types ¶
type BankBalance ¶
type Command ¶
type Command string
const ( // Static Commands CommandHelp Command = "help" CommandGamble Command = "gamble" CommandPing Command = "ping" CommandMikey Command = "mikey" CommandScheduleNew Command = "new" CommandBalance Command = "balance" CommandBlackJack Command = "blackjack" CommandCoinFlip Command = "flipcoin" CommandSchedule Command = "schedule" )
type CommandGroup ¶
type CommandGroup string
Click to show internal directories.
Click to hide internal directories.