Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &commands.YAGCommand{ Cooldown: 2, CmdCategory: commands.CategoryDebug, Name: "topevents", Description: "Shows gateway event processing stats for all or one shard, bot owner only", HideFromHelp: true, Arguments: []*dcmd.ArgDef{ {Name: "shard", Type: dcmd.Int}, }, RunFunc: util.RequireOwner(cmdFuncTopEvents), }
Functions ¶
This section is empty.
Types ¶
type DiscordEvtEntry ¶
type DiscordEvtEntrySortable ¶
type DiscordEvtEntrySortable []*DiscordEvtEntry
func (DiscordEvtEntrySortable) Len ¶
func (d DiscordEvtEntrySortable) Len() int
func (DiscordEvtEntrySortable) Less ¶
func (d DiscordEvtEntrySortable) Less(i, j int) bool
func (DiscordEvtEntrySortable) Swap ¶
func (d DiscordEvtEntrySortable) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.