robyulstate

package
v0.0.0-...-07de05f Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Robyulstate

type Robyulstate struct {
	sync.RWMutex

	Logger func(msgL, caller int, format string, a ...interface{})
	// contains filtered or unexported fields
}

func NewState

func NewState() *Robyulstate

func (*Robyulstate) ChannelDelete

func (s *Robyulstate) ChannelDelete(channel *discordgo.Channel) error

func (*Robyulstate) ChannelUpdate

func (s *Robyulstate) ChannelUpdate(newChannel *discordgo.Channel) error

func (*Robyulstate) EmojisUpdate

func (s *Robyulstate) EmojisUpdate(guildID string, emojis []*discordgo.Emoji) error

func (*Robyulstate) GuildAdd

func (s *Robyulstate) GuildAdd(guild *discordgo.Guild) error

func (*Robyulstate) GuildRemove

func (s *Robyulstate) GuildRemove(guild *discordgo.Guild) error

func (*Robyulstate) GuildUpdate

func (s *Robyulstate) GuildUpdate(guild *discordgo.Guild) error

func (*Robyulstate) MemberAdd

func (s *Robyulstate) MemberAdd(member *discordgo.Member) error

func (*Robyulstate) MemberRemove

func (s *Robyulstate) MemberRemove(member *discordgo.Member) error

func (*Robyulstate) OnInterface

func (s *Robyulstate) OnInterface(_ *discordgo.Session, i interface{})

func (*Robyulstate) RoleAdd

func (s *Robyulstate) RoleAdd(guildID string, role *discordgo.Role) error

func (*Robyulstate) RoleDelete

func (s *Robyulstate) RoleDelete(guildID, roleID string) error

Jump to

Keyboard shortcuts

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