modules

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 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 deprecated

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

NewRecurringEventsComponent creates a new component instance

Deprecated: This recurring events are now a native feature in Discord, so this will be removed in the next version.

func NewRoleSelectionComponent

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

NewRoleSelectionComponent creates a new component

func NewStatusComponent added in v0.4.3

func NewStatusComponent(portalURL string) common.Module

NewStatusComponent 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