Add unicode_emojis flag to config
This commit is contained in:
@ -4,6 +4,7 @@ var defaultConfig = `
|
|||||||
[basics]
|
[basics]
|
||||||
download_path = "/tmp/"
|
download_path = "/tmp/"
|
||||||
colorless = false
|
colorless = false
|
||||||
|
unicode_emojis = true
|
||||||
|
|
||||||
# The prefix before evaluating a command
|
# The prefix before evaluating a command
|
||||||
cmd_prefix = "/"
|
cmd_prefix = "/"
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
[basics]
|
[basics]
|
||||||
download_path = "/tmp/"
|
download_path = "/tmp/"
|
||||||
colorless = false
|
colorless = false
|
||||||
|
unicode_emojis = true
|
||||||
|
|
||||||
# The prefix before evaluating a command
|
# The prefix before evaluating a command
|
||||||
cmd_prefix = "/"
|
cmd_prefix = "/"
|
||||||
|
|||||||
7
types.go
7
types.go
@ -28,9 +28,10 @@ type Config struct {
|
|||||||
|
|
||||||
// Basics holds the 'basics' section of the config file
|
// Basics holds the 'basics' section of the config file
|
||||||
type Basics struct {
|
type Basics struct {
|
||||||
DownloadPath string `toml:"download_path"`
|
DownloadPath string `toml:"download_path"`
|
||||||
Colorless bool `toml:"colorless"`
|
Colorless bool `toml:"colorless"`
|
||||||
CmdPrefix string `toml:"cmd_prefix"`
|
CmdPrefix string `toml:"cmd_prefix"`
|
||||||
|
UnicodeEmojis bool `toml:"unicode_emojis"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Formatting holds the 'formatting' section of the config file
|
// Formatting holds the 'formatting' section of the config file
|
||||||
|
|||||||
Reference in New Issue
Block a user