messages

package
v0.0.0-...-2e419a0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdvertiserChosenDMToAdvertiser

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

func NewAdvertiserChosenDMToAdvertiser

func NewAdvertiserChosenDMToAdvertiser(
	localizer *i18n.Localizer, up userProvider, br *repository.BoostRequest,
) *AdvertiserChosenDMToAdvertiser

func (*AdvertiserChosenDMToAdvertiser) Message

type AdvertiserChosenDMToRequester

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

func NewAdvertiserChosenDMToRequester

func NewAdvertiserChosenDMToRequester(
	localizer *i18n.Localizer, up userProvider, br *repository.BoostRequest,
) *AdvertiserChosenDMToRequester

func (*AdvertiserChosenDMToRequester) Message

type AutoSignupExpiredMessage

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

func NewAutoSignupExpiredMessage

func NewAutoSignupExpiredMessage(
	localizer *i18n.Localizer,
	guildID string,
) *AutoSignupExpiredMessage

func (*AutoSignupExpiredMessage) Message

type AutoSignupExpiringSoonMessage

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

func NewAutoSignupExpiringSoonMessage

func NewAutoSignupExpiringSoonMessage(
	localizer *i18n.Localizer,
	timeLeft time.Duration,
) *AutoSignupExpiringSoonMessage

func (*AutoSignupExpiringSoonMessage) Message

type BackendAdvertiserChosenMessage

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

func NewBackendAdvertiserChosenMessage

func NewBackendAdvertiserChosenMessage(
	localizer *i18n.Localizer, up userProvider, br *repository.BoostRequest,
) *BackendAdvertiserChosenMessage

func (*BackendAdvertiserChosenMessage) Message

type BackendSignupMessage

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

func NewBackendSignupMessage

func NewBackendSignupMessage(
	localizer *i18n.Localizer,
	br *repository.BoostRequest,
	buttonConfiguration BackendSignupMessageButtonConfiguration,
) *BackendSignupMessage

func (*BackendSignupMessage) Message

type BackendSignupMessageButtonConfiguration

type BackendSignupMessageButtonConfiguration struct {
	SignUp       bool
	Steal        bool
	CancelSignup bool
}

type BoostRequestCreatedDM

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

func NewBoostRequestCreatedDM

func NewBoostRequestCreatedDM(
	localizer *i18n.Localizer, userProvider userProvider, br *repository.BoostRequest,
) *BoostRequestCreatedDM

func (*BoostRequestCreatedDM) Message

type BoostRequestPreferredAdvertiserReminder

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

func NewBoostRequestPreferredAdvertiserReminder

func NewBoostRequestPreferredAdvertiserReminder(
	localizer *i18n.Localizer, br *repository.BoostRequest,
) *BoostRequestPreferredAdvertiserReminder

func (*BoostRequestPreferredAdvertiserReminder) Message

type BoostRequestRollMessage

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

func (*BoostRequestRollMessage) Message

type CreditsUpdatedDM

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

func NewCreditsUpdatedDM

func NewCreditsUpdatedDM(
	localizer *i18n.Localizer, credits int,
) *CreditsUpdatedDM

func (*CreditsUpdatedDM) Message

func (m *CreditsUpdatedDM) Message() (*discordgo.MessageSend, error)

type DMBlockedMessage

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

func NewDMBlockedMessage

func NewDMBlockedMessage(localizer *i18n.Localizer, userID string) *DMBlockedMessage

func (*DMBlockedMessage) Message

func (m *DMBlockedMessage) Message() (*discordgo.MessageSend, error)

type DiscordRoleNameProvider

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

func NewDiscordRoleNameProvider

func NewDiscordRoleNameProvider(discord *discordgo.Session) *DiscordRoleNameProvider

func (*DiscordRoleNameProvider) RoleName

func (rnp *DiscordRoleNameProvider) RoleName(guildID, roleID string) string

type LogChannelMessage

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

func NewLogChannelMessage

func NewLogChannelMessage(
	localizer *i18n.Localizer, up userProvider, br *repository.BoostRequest,
) *LogChannelMessage

func (*LogChannelMessage) Message

func (m *LogChannelMessage) Message() (*discordgo.MessageSend, error)

type StaticMessage

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

func NewStaticMessage

func NewStaticMessage(message *discordgo.MessageSend) *StaticMessage

func (*StaticMessage) Message

func (m *StaticMessage) Message() (*discordgo.MessageSend, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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