config

package
v0.0.0-...-d2adc2b Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrorColorHex int = 0xe60000
View Source
var ErrorImg string = "https://d384fynlilbsl.cloudfront.net/error-icon.png"
View Source
var MainColorHex int = 0x7E22DE
View Source
var OneWorldRadioImg string = "https://d384fynlilbsl.cloudfront.net/one_world_radio_logo.png"
View Source
var StreamGif string = "https://d384fynlilbsl.cloudfront.net/stream.gif"

Functions

This section is empty.

Types

type Bot

type Bot struct {
	Logger      *slog.Logger
	LiveStreams *[]tmrlweb.YTVideo
}

func (*Bot) BotError

func (b *Bot) BotError(err error, commandName string)

func (*Bot) ErrorInteractionResponse

func (b *Bot) ErrorInteractionResponse(s *discordgo.Session, i *discordgo.InteractionCreate, content Content, edit bool, ephemeral bool)

func (*Bot) ErrorMessageResponse

func (b *Bot) ErrorMessageResponse(s *discordgo.Session, i *discordgo.InteractionCreate, content Content) error

type Content

type Content struct {
	Message     string
	Description string
}

Jump to

Keyboard shortcuts

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