boredmodule

package
v0.0.0-...-025a0c4 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoredModule

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

BoredModule picks a random action to do whenever a channel has been idle for several minutes (configurable)

func New

func New() *BoredModule

New instance of BoredModule

func (*BoredModule) Commands

func (w *BoredModule) Commands() []bot.Command

Commands in the module

func (*BoredModule) Description

func (w *BoredModule) Description(info *bot.GuildInfo) string

Description of the module

func (*BoredModule) Name

func (w *BoredModule) Name() string

Name of the module

func (*BoredModule) OnTick

func (w *BoredModule) OnTick(info *bot.GuildInfo, t time.Time)

OnTick discord hook

Jump to

Keyboard shortcuts

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