discord

package
v0.0.0-...-f72932a Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BotClient

type BotClient struct {
	Session *discordgo.Session
}

func NewDiscordBotClient

func NewDiscordBotClient(variables variables.Variables) (client BotClient, err error)

func (BotClient) SendComplexNotification

func (b BotClient) SendComplexNotification(userID string, msg discordgo.MessageSend) error

func (BotClient) SendNotification

func (b BotClient) SendNotification(userID, msg string) error

Jump to

Keyboard shortcuts

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