bucketmodule

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

func BucketDropRandom

func BucketDropRandom(info *bot.GuildInfo) string

BucketDropRandom removes a random item from the bucket and returns it

Types

type BucketModule

type BucketModule struct {
}

BucketModule manages the bucket

func New

func New() *BucketModule

New instance of BucketModule

func (*BucketModule) Commands

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

Commands in the module

func (*BucketModule) Description

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

Description of the module

func (*BucketModule) Name

func (w *BucketModule) Name() string

Name of the module

Jump to

Keyboard shortcuts

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