Documentation ¶
Index ¶
- Constants
- func CheckName(name string) (string, types.Resp)
- type Base
- func (b *Base) CalcQuery(ctx sevcord.Ctx, name string) (*types.Query, bool)
- func (b *Base) CheckCtx(ctx sevcord.Ctx, cmd string) bool
- func (b *Base) ConfigNews(c sevcord.Ctx, opts []any)
- func (b *Base) ConfigPlayChannels(c sevcord.Ctx, opts []any)
- func (b *Base) ConfigPlayChannelsHandler(c sevcord.Ctx, params string, opts []string)
- func (b *Base) ConfigPollCnt(c sevcord.Ctx, opts []any)
- func (b *Base) ConfigVoteCnt(c sevcord.Ctx, opts []any)
- func (b *Base) ConfigVoting(c sevcord.Ctx, opts []any)
- func (b *Base) Error(ctx sevcord.Ctx, err error, config ...string)
- func (b *Base) GetCombCache(c sevcord.Ctx) (types.CombCache, types.Resp)
- func (b *Base) GetName(guild string, elem int) (string, error)
- func (b *Base) GetNames(items []int, guild string) ([]string, error)
- func (b *Base) Give(c sevcord.Ctx, opts []any)
- func (b *Base) IncrementCommandStat(c sevcord.Ctx, name string)
- func (b *Base) Init()
- func (b *Base) IsPlayChannel(c sevcord.Ctx) bool
- func (b *Base) NameMap(items []int, guild string) (map[int]string, error)
- func (b *Base) PageLength(ctx sevcord.Ctx) int
- func (b *Base) SaveCombCache(c sevcord.Ctx, comb types.CombCache)
- func (b *Base) SaveCommandStats(guild string, mem *types.ServerMem)
- func (b *Base) SaveStats()
- func (b *Base) Stats(c sevcord.Ctx, opts []any)
Constants ¶
View Source
const MaxNameLength = 240
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Base ¶
type Base struct {
// contains filtered or unexported fields
}
func (*Base) ConfigNews ¶
func (*Base) ConfigPlayChannels ¶
func (*Base) ConfigPlayChannelsHandler ¶
func (*Base) ConfigPollCnt ¶
func (*Base) ConfigVoteCnt ¶
func (*Base) ConfigVoting ¶
func (*Base) GetCombCache ¶
func (*Base) IncrementCommandStat ¶
func (*Base) IsPlayChannel ¶
func (*Base) PageLength ¶
func (*Base) SaveCombCache ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.