notificationbot

package
v0.0.0-...-7f3aa20 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2023 License: MIT Imports: 3 Imported by: 0

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