Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &commands.YAGCommand{ CmdCategory: commands.CategoryDebug, HideFromCommandsPage: true, Name: "CurrentShard", Aliases: []string{"cshard"}, Description: "Shows the current shard this server is on", RunFunc: func(data *dcmd.Data) (interface{}, error) { shard := bot.ShardManager.SessionForGuild(data.GS.ID) return fmt.Sprintf("On shard %d out of total %d shards.", shard.ShardID+1, shard.ShardCount), nil }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.