logmsg

package
v0.0.0-...-eb18d79 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogMessage

type LogMessage struct {
	*discordgo.Message
	// contains filtered or unexported fields
}

func New

func New(
	s *discordgo.Session,
	channelId string,
	emb *discordgo.MessageEmbed,
	cMsgs <-chan string,
	cErr <-chan error,
	initMsg string,
) (lm *LogMessage, err error)

func NewWithSender

func NewWithSender(
	s *discordgo.Session,
	sender func(emb *discordgo.MessageEmbed) (*discordgo.Message, error),
	emb *discordgo.MessageEmbed,
	cMsgs <-chan string,
	cErr <-chan error,
	initMsg string,
) (lm *LogMessage, err error)

func (*LogMessage) Close

func (lm *LogMessage) Close(msg string)

Jump to

Keyboard shortcuts

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