Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &commands.YAGCommand{ Cooldown: 2, CmdCategory: commands.CategoryDebug, HideFromCommandsPage: true, Name: "banserverowner", Description: ";))", HideFromHelp: true, RequiredArgs: 1, Arguments: []*dcmd.ArgDef{ {Name: "owner", Type: dcmd.BigInt}, }, RunFunc: util.RequireOwner(func(data *dcmd.Data) (interface{}, error) { common.RedisPool.Do(radix.FlatCmd(nil, "SADD", "banned_server_owners", data.Args[0].Int64())) return "Banned " + data.Args[0].Str(), nil }), }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.