notificationbot

package
v0.0.0-...-79683fd Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectBot

func ConnectBot(l *logrus.Entry, token string) *discordgo.Session

ConnectBot connects bot or panics

func NewBot

func NewBot(botSession *discordgo.Session, flashpointServerID, notificationChannelID, curationFeedChannelID string, l *logrus.Entry, isDev bool) *bot

Types

type DiscordNotificationSender

type DiscordNotificationSender interface {
	SendNotification(msg, notificationType string) error
}

Jump to

Keyboard shortcuts

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