Documentation
¶
Index ¶
- type DurationSlashCommandArgument
- type DurationSlashCommandArgumentBuilder
- func (b *DurationSlashCommandArgumentBuilder) Create() (*string, dgc.SlashCommandArgument)
- func (b *DurationSlashCommandArgumentBuilder) Description() *util.Localizable[*DurationSlashCommandArgumentBuilder]
- func (b *DurationSlashCommandArgumentBuilder) DiscordDefineForCreation() *discordgo.ApplicationCommandOption
- func (b *DurationSlashCommandArgumentBuilder) Name() *util.Localizable[*DurationSlashCommandArgumentBuilder]
- func (b *DurationSlashCommandArgumentBuilder) Required(required bool) *DurationSlashCommandArgumentBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DurationSlashCommandArgument ¶
type DurationSlashCommandArgument struct {
// contains filtered or unexported fields
}
func (*DurationSlashCommandArgument) Name ¶
func (a *DurationSlashCommandArgument) Name() string
func (*DurationSlashCommandArgument) Parse ¶
func (a *DurationSlashCommandArgument) Parse(info *dgc.ArgumentParsingInformation) (string, any, error)
type DurationSlashCommandArgumentBuilder ¶
type DurationSlashCommandArgumentBuilder struct {
// contains filtered or unexported fields
}
func NewDurationArgument ¶
func NewDurationArgument() *DurationSlashCommandArgumentBuilder
func (*DurationSlashCommandArgumentBuilder) Create ¶
func (b *DurationSlashCommandArgumentBuilder) Create() (*string, dgc.SlashCommandArgument)
func (*DurationSlashCommandArgumentBuilder) Description ¶
func (b *DurationSlashCommandArgumentBuilder) Description() *util.Localizable[*DurationSlashCommandArgumentBuilder]
func (*DurationSlashCommandArgumentBuilder) DiscordDefineForCreation ¶
func (b *DurationSlashCommandArgumentBuilder) DiscordDefineForCreation() *discordgo.ApplicationCommandOption
func (*DurationSlashCommandArgumentBuilder) Name ¶
func (b *DurationSlashCommandArgumentBuilder) Name() *util.Localizable[*DurationSlashCommandArgumentBuilder]
func (*DurationSlashCommandArgumentBuilder) Required ¶
func (b *DurationSlashCommandArgumentBuilder) Required(required bool) *DurationSlashCommandArgumentBuilder
Click to show internal directories.
Click to hide internal directories.