Documentation ¶
Index ¶
- type Categories
- func (c *Categories) AddCat(ctx sevcord.Ctx, opts []any)
- func (c *Categories) Autocomplete(ctx sevcord.Ctx, val any) []sevcord.Choice
- func (c *Categories) CatEditCmd(ctx sevcord.Ctx, cat string, elems []int, kind types.PollKind, format string, ...)
- func (c *Categories) ColorCmd(ctx sevcord.Ctx, opts []any)
- func (c *Categories) DelCat(ctx sevcord.Ctx, opts []any)
- func (c *Categories) ImageCmd(ctx sevcord.Ctx, cat string, image string)
- func (c *Categories) Info(ctx sevcord.Ctx, opts []any)
- func (c *Categories) RmCat(ctx sevcord.Ctx, opts []any)
- func (c *Categories) SignCmd(ctx sevcord.Ctx, opts []any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Categories ¶
type Categories struct {
// contains filtered or unexported fields
}
func NewCategories ¶
func (*Categories) AddCat ¶
func (c *Categories) AddCat(ctx sevcord.Ctx, opts []any)
func (*Categories) Autocomplete ¶
func (c *Categories) Autocomplete(ctx sevcord.Ctx, val any) []sevcord.Choice
func (*Categories) CatEditCmd ¶
func (c *Categories) CatEditCmd(ctx sevcord.Ctx, cat string, elems []int, kind types.PollKind, format string, contains bool)
contains is for whether to make sure the cat contains the element (needed for rmcat)
func (*Categories) ColorCmd ¶
func (c *Categories) ColorCmd(ctx sevcord.Ctx, opts []any)
func (*Categories) DelCat ¶
func (c *Categories) DelCat(ctx sevcord.Ctx, opts []any)
func (*Categories) ImageCmd ¶
func (c *Categories) ImageCmd(ctx sevcord.Ctx, cat string, image string)
func (*Categories) Info ¶
func (c *Categories) Info(ctx sevcord.Ctx, opts []any)
func (*Categories) RmCat ¶
func (c *Categories) RmCat(ctx sevcord.Ctx, opts []any)
func (*Categories) SignCmd ¶
func (c *Categories) SignCmd(ctx sevcord.Ctx, opts []any)
Click to show internal directories.
Click to hide internal directories.