beater

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendNonZero

func AppendNonZero(slice []string, elements ...string) []string

func GetTimestamp

func GetTimestamp(aTime *time.Time) *int64

func New

func New(b *beat.Beat, cfg *common.Config) (beat.Beater, error)

New creates an instance of discordbeat.

Types

type MessageFormatter

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

func GetMessageFormatter

func GetMessageFormatter(msg discordgo.Message) *MessageFormatter

Jump to

Keyboard shortcuts

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