bot_status

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const BotStatusRotationTime = 5 * time.Minute

BotStatusRotationTime is the time between the status that are registered in the DiscordGoStatusManager.

Variables

View Source
var C = api.Component{

	Code:         "bot_status",
	Name:         "Bot Status",
	Categories:   api.Categories{api.CategoryInternal},
	Description:  "This component handles automated rotation and setting of the bot status in Discord.",
	LoadPriority: -1000,

	State: &api.State{
		DefaultEnabled: true,
	},
}

Functions

func LoadComponent

func LoadComponent(_ *discordgo.Session) error

LoadComponent loads the bot core component and handles migration of core entities and registration of important core event handlers.

Types

This section is empty.

Jump to

Keyboard shortcuts

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