discord

package
v0.0.0-...-c30703a Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func AddMentions

func AddMentions(message string) string

func CacheDiscordMembers

func CacheDiscordMembers(session *discordgo.Session) (count int)

func CacheUpdater

func CacheUpdater(session *discordgo.Session)

func Close

func Close()

func Init

func Init()

func ProcessFactorioLogLine

func ProcessFactorioLogLine(line string)

ProcessFactorioLogLine pipes in-game chat to Discord.

func SearchForUser

func SearchForUser(name string) *discordgo.User

SearchForUser searches for the user to be mentioned.

func StartSession

func StartSession()

Types

This section is empty.

Jump to

Keyboard shortcuts

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