config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

Types

type AutoDelete

type AutoDelete struct {
	Enable bool
	Time   time.Duration
}

type Bot

type Bot struct {
	Token string
}

type Config

type Config struct {
	Bot
	AutoDelete
	RankList
}
var (
	Conf *Config
)

type RankList added in v0.0.5

type RankList struct {
	Enable  bool
	MaxRank int
}

Jump to

Keyboard shortcuts

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