Documentation ¶
Index ¶
- type AdvertiserChosenDMToAdvertiser
- type AdvertiserChosenDMToRequester
- type AutoSignupExpiredMessage
- type AutoSignupExpiringSoonMessage
- type BackendAdvertiserChosenMessage
- type BackendSignupMessage
- type BackendSignupMessageButtonConfiguration
- type BoostRequestCreatedDM
- type BoostRequestPreferredAdvertiserReminder
- type BoostRequestRollMessage
- type CreditsUpdatedDM
- type DMBlockedMessage
- type DiscordRoleNameProvider
- type LogChannelMessage
- type StaticMessage
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 ¶
func (m *AdvertiserChosenDMToAdvertiser) Message() (*discordgo.MessageSend, error)
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 ¶
func (m *AdvertiserChosenDMToRequester) Message() (*discordgo.MessageSend, error)
type AutoSignupExpiredMessage ¶
type AutoSignupExpiredMessage struct {
// contains filtered or unexported fields
}
func NewAutoSignupExpiredMessage ¶
func NewAutoSignupExpiredMessage( localizer *i18n.Localizer, guildID string, ) *AutoSignupExpiredMessage
func (*AutoSignupExpiredMessage) Message ¶
func (m *AutoSignupExpiredMessage) Message() (*discordgo.MessageSend, error)
type AutoSignupExpiringSoonMessage ¶
type AutoSignupExpiringSoonMessage struct {
// contains filtered or unexported fields
}
func NewAutoSignupExpiringSoonMessage ¶
func NewAutoSignupExpiringSoonMessage( localizer *i18n.Localizer, timeLeft time.Duration, ) *AutoSignupExpiringSoonMessage
func (*AutoSignupExpiringSoonMessage) Message ¶
func (m *AutoSignupExpiringSoonMessage) Message() (*discordgo.MessageSend, error)
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 ¶
func (m *BackendAdvertiserChosenMessage) Message() (*discordgo.MessageSend, error)
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 ¶
func (m *BackendSignupMessage) Message() (*discordgo.MessageSend, error)
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 ¶
func (m *BoostRequestCreatedDM) Message() (*discordgo.MessageSend, error)
type BoostRequestPreferredAdvertiserReminder ¶
type BoostRequestPreferredAdvertiserReminder struct {
// contains filtered or unexported fields
}
func NewBoostRequestPreferredAdvertiserReminder ¶
func NewBoostRequestPreferredAdvertiserReminder( localizer *i18n.Localizer, br *repository.BoostRequest, ) *BoostRequestPreferredAdvertiserReminder
func (*BoostRequestPreferredAdvertiserReminder) Message ¶
func (m *BoostRequestPreferredAdvertiserReminder) Message() (*discordgo.MessageSend, error)
type BoostRequestRollMessage ¶
type BoostRequestRollMessage struct {
// contains filtered or unexported fields
}
func NewBoostRequestRollMessage ¶
func NewBoostRequestRollMessage( localizer *i18n.Localizer, br *repository.BoostRequest, rollResults *weighted_picker.WeightedPickerResults[string], ) *BoostRequestRollMessage
func (*BoostRequestRollMessage) Message ¶
func (m *BoostRequestRollMessage) Message() (*discordgo.MessageSend, error)
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)
Source Files ¶
- advertiser_chosen_dm_to_advertiser.go
- advertiser_chosen_dm_to_requester.go
- auto_signup_expired_message.go
- auto_signup_expiring_soon_message.go
- backend_advertiser_chosen_message.go
- backend_signup_message.go
- boost_request_created_dm.go
- boost_request_preferred_advertiser_reminder.go
- boost_request_roll_message.go
- credits_updated_dm.go
- discord_role_name_provider.go
- dm_blocked_message.go
- log_channel_message.go
- static_message.go
- user_provider.go
Click to show internal directories.
Click to hide internal directories.