usersmodule

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UsersModule

type UsersModule struct {
}

UsersModule contains commands for getting and setting user information

func New

func New() *UsersModule

New instance of UsersModule

func (*UsersModule) Commands

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

Commands in the module

func (*UsersModule) Description

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

Description of the module

func (*UsersModule) Name

func (w *UsersModule) Name() string

Name of the module

func (*UsersModule) OnGuildMemberAdd

func (w *UsersModule) OnGuildMemberAdd(info *bot.GuildInfo, m *discordgo.Member, t time.Time)

OnGuildMemberAdd discord hook

func (*UsersModule) OnGuildMemberRemove

func (w *UsersModule) OnGuildMemberRemove(info *bot.GuildInfo, m *discordgo.Member, t time.Time)

OnGuildMemberRemove discord hook

Jump to

Keyboard shortcuts

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