Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &commands.YAGCommand{ CmdCategory: commands.CategoryDebug, Name: "Ping", Aliases: []string{"Pong"}, Description: "Shows the latency from the bot to the discord servers.", LongDescription: "Note that high latencies can be the fault of ratelimits and the bot itself, it's not a absolute metric.", RunFunc: func(data *dcmd.Data) (interface{}, error) { return fmt.Sprintf(":PONG;%d", time.Now().UnixNano()), nil }, }
Functions ¶
func HandleMessageCreate ¶
func HandleMessageCreate(evt *eventsystem.EventData)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.