elements

package
v0.0.0-...-531763a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const MaxIdeaReqs = 7

Variables

This section is empty.

Functions

func Obscure

func Obscure(val string) string

Types

type Elements

type Elements struct {
	// contains filtered or unexported fields
}

func NewElements

func NewElements(s *sevcord.Sevcord, db *sqlx.DB, base *base.Base, polls *polls.Polls) *Elements

func (*Elements) Autocomplete

func (e *Elements) Autocomplete(c sevcord.Ctx, val any) []sevcord.Choice

func (*Elements) ColorCmd

func (e *Elements) ColorCmd(c sevcord.Ctx, opts []any)

func (*Elements) Combine

func (e *Elements) Combine(c sevcord.Ctx, elemVals []string)

func (*Elements) DeleteComboCmd

func (e *Elements) DeleteComboCmd(c sevcord.Ctx, opts []any)

func (*Elements) EditElementColorCmd

func (e *Elements) EditElementColorCmd(c sevcord.Ctx, opts []any)

func (*Elements) EditElementCommentCmd

func (e *Elements) EditElementCommentCmd(c sevcord.Ctx, opts []any)

func (*Elements) EditElementCreatedonCmd

func (e *Elements) EditElementCreatedonCmd(c sevcord.Ctx, opts []any)

func (*Elements) EditElementCreatorCmd

func (e *Elements) EditElementCreatorCmd(c sevcord.Ctx, opts []any)

func (*Elements) EditElementImageCmd

func (e *Elements) EditElementImageCmd(c sevcord.Ctx, opts []any)

func (*Elements) EditElementNameCmd

func (e *Elements) EditElementNameCmd(c sevcord.Ctx, opts []any)

func (*Elements) Hint

func (e *Elements) Hint(c sevcord.Ctx, opts []any)

func (*Elements) HintHandler

func (e *Elements) HintHandler(c sevcord.Ctx, params string)

Format: user|elementid|query

func (*Elements) Idea

func (e *Elements) Idea(c sevcord.Ctx, opts []any)

func (*Elements) IdeaHandler

func (e *Elements) IdeaHandler(c sevcord.Ctx, params string)

Format: user|query|count

func (*Elements) ImageCmd

func (e *Elements) ImageCmd(c sevcord.Ctx, id int, image string)

func (*Elements) Info

func (e *Elements) Info(c sevcord.Ctx, el int)

func (*Elements) InfoMsgCmd

func (e *Elements) InfoMsgCmd(c sevcord.Ctx, val string)

func (*Elements) InfoSlashCmd

func (e *Elements) InfoSlashCmd(c sevcord.Ctx, opts []any)

func (*Elements) Init

func (e *Elements) Init()

func (*Elements) MsgSignCmd

func (e *Elements) MsgSignCmd(c sevcord.Ctx, elem string, mark string)

func (*Elements) Next

func (e *Elements) Next(c sevcord.Ctx, opts []any)

func (*Elements) NextHandler

func (e *Elements) NextHandler(c sevcord.Ctx, params string)

Format: user|query|offset

func (*Elements) Products

func (e *Elements) Products(c sevcord.Ctx, opts []any)

func (*Elements) SignCmd

func (e *Elements) SignCmd(c sevcord.Ctx, opts []any)

func (*Elements) Suggest

func (e *Elements) Suggest(c sevcord.Ctx, opts []any)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL