struct Cryscord::CommandOptionChoice

Defined in:

command_option_choice.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, value : String | Int32 | Int64, name_localizations : Hash(String, String) = LocaleHash.new) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(name _name = @name, value _value = @value, name_localizations _name_localizations = @name_localizations) #

[View source]
def name : String #

def name_localizations : Hash(String, String) #

def value : String | Int32 | Int64 #