channels

package
v0.0.0-...-3759818 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreatePrimaryChannel

func CreatePrimaryChannel(s *discordgo.Session, GuildID string, NameTemplate string, NameDefault string) (*discordgo.Channel, error)

func StartChannelLoops

func StartChannelLoops(s *discordgo.Session)

func TestTemplate

func TestTemplate(s *discordgo.Session, tpl string) error

Test a template with fake data

func VCUpdate

Types

type ChanneltoRename

type ChanneltoRename struct {
	PrimaryChannel   *discordgo.Channel
	SecondaryChannel *discordgo.Channel
	Creator          string
	Rank             int
	Template         string

	Logger  *zap.SugaredLogger
	Session *discordgo.Session
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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