embeds

package
v0.0.0-...-37b14fa Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func About

func About(s *discordgo.Session, m *discordgo.Message) error

About sends an embed about message

func CreateAboutEmbed

func CreateAboutEmbed(botUser *discordgo.User) *discordgo.MessageEmbed

func CreateInviteEmbed

func CreateInviteEmbed(botUser *discordgo.User) *discordgo.MessageEmbed

func CreatePingEmbed

func CreatePingEmbed(botUser *discordgo.User, settings entities.GuildSettings) *discordgo.MessageEmbed

func Edit

func Edit(s *discordgo.Session, channelID, messageID, message string) error

Edit edits an embed message

func Feed

func Feed(s *discordgo.Session, feed *entities.Feed, item *gofeed.Item) (*discordgo.Message, error)

Feed sends a reddit feed embed message

func FeedEmbed

func FeedEmbed(feed *entities.Feed, item *gofeed.Item) *discordgo.MessageEmbed

func Invite

func Invite(s *discordgo.Session, m *discordgo.Message) error

Invite sends an embed invite message

func Ping

Ping sends an embed ping message

func Say

func Say(s *discordgo.Session, message, channelID string) error

Say sends an embed message to the target channel

func Subscription

func Subscription(s *discordgo.Session, show *entities.ShowAirTime, channelID string) error

Subscription sends an embed anime subscription message

func SubscriptionEmbed

func SubscriptionEmbed(show *entities.ShowAirTime) *discordgo.MessageEmbed

Types

This section is empty.

Jump to

Keyboard shortcuts

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