Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &commands.YAGCommand{ Cooldown: 5, CmdCategory: commands.CategoryFun, Name: "Advice", Description: "Get advice", Arguments: []*dcmd.ArgDef{ &dcmd.ArgDef{Name: "What", Type: dcmd.String}, }, RunFunc: func(data *dcmd.Data) (interface{}, error) { return "The API this command used has been shut down :(", nil }, }
Functions ¶
This section is empty.
Types ¶
type AdviceSlip ¶
type RandomAdviceResp ¶
type RandomAdviceResp struct {
Slip *AdviceSlip `json:"slip"`
}
type SearchAdviceResp ¶
type SearchAdviceResp struct { TotalResults json.Number `json:"total_results"` Slips []*AdviceSlip `json:"slips"` }
Click to show internal directories.
Click to hide internal directories.