Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
vsbot
master
Color
ColorA
Commands
Config
Discord
JSONReader
Built with Crystal 1.9.2
2023-10-07 21:28:52 UTC
struct
Config
Config
Struct
Value
Object
Included Modules
JSON::Serializable
Defined in:
jsonreader.cr
Constructors
.new
(token : String, prefix : String)
.new
(pull : JSON::PullParser)
Instance Method Summary
#clone
#copy_with
(token _token = @token, prefix _prefix = @prefix)
#prefix
: String
#token
: String
Constructor Detail
def self.
new
(token : String, prefix : String)
#
[
View source
]
def self.
new
(pull : JSON::PullParser)
#
[
View source
]
Instance Method Detail
def
clone
#
[
View source
]
def
copy_with
(token _token = @token, prefix _prefix = @prefix)
#
[
View source
]
def
prefix
: String
#
def
token
: String
#