modules

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAnnounceEventsComponent

func NewAnnounceEventsComponent(mastodon *mastodon.Mastodon, guildID string) common.Module

NewAnnounceEventsComponent creates a new component

func NewFeedbackWebhookComponent added in v0.4.2

func NewFeedbackWebhookComponent(webhookURL string, config FeedbackWebhookConfiguration) common.Module

NewFeedbackWebhookComponent creates a new component

func NewManageEventChannelsComponent

func NewManageEventChannelsComponent(categoryID string, archiveCategoryID string, session *discord.Discord) common.Module

NewManageEventChannelsComponent creates a new component

func NewRecurringEventsComponent

func NewRecurringEventsComponent(session *discord.Discord) common.Module

NewRecurringEventsComponent creates a new component instance

func NewRoleSelectionComponent

func NewRoleSelectionComponent(discord *discord.Discord, db persistence.Database, cfg core.RoleSelectionConfig) common.Module

NewRoleSelectionComponent creates a new component

Types

type FeedbackWebhookConfiguration added in v0.4.2

type FeedbackWebhookConfiguration struct {
	SuccessMessage string
	FailureMessage string
	PayloadType    string
}

Jump to

Keyboard shortcuts

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