service

package
v0.0.0-...-108f9d1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetImageFromAttachment

func GetImageFromAttachment(att *discordgo.MessageAttachment) (*bytes.Buffer, string, error)

Types

type DiscordService

type DiscordService struct {
	// contains filtered or unexported fields
}

func NewDiscordService

func NewDiscordService(servicename string, token string, prefix string, amqpQueue *rabbitmq.AmqpQueue) *DiscordService

func (*DiscordService) ReplyMessage

func (d *DiscordService) ReplyMessage(channelid string, msg *discordgo.MessageSend)

func (*DiscordService) Start

func (d *DiscordService) Start(ctx context.Context) error

Jump to

Keyboard shortcuts

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