user

package
v0.0.0-...-c2d312f Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2022 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UpdateCommandMemberPermission int64 = discordgo.PermissionManageMessages

Functions

This section is empty.

Types

type UserPlugin

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

User command plugin structure.

func NewUserPlugin

func NewUserPlugin(bot *bot.Bot, cfg *config.Config, service service.User) *UserPlugin

Creating a new user command plugin.

func (*UserPlugin) CreateCommand

func (p *UserPlugin) CreateCommand()

Create bot command.

func (*UserPlugin) RegisterCommand

func (p *UserPlugin) RegisterCommand()

Register bot command.

func (*UserPlugin) RegisterCommands

func (p *UserPlugin) RegisterCommands()

Registering all user plugin commands.

func (*UserPlugin) UpdateBalanceCommand

func (p *UserPlugin) UpdateBalanceCommand()

Update balance bot command

func (*UserPlugin) UseCommand

func (p *UserPlugin) UseCommand()

Use bot command.

func (*UserPlugin) UserCommand

func (p *UserPlugin) UserCommand()

User bot command.

Jump to

Keyboard shortcuts

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