Discover Packages
github.com/makeitchaccha/text-to-speech
ttsbot
package
Version:
v0.5.1
Opens a new window with list of versions in this module.
Published: Sep 13, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 17
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type BotConfig struct {
DevGuilds []snowflake.ID `mapstructure:"dev_guilds"`
Token string `mapstructure:"token"`
Language string `mapstructure:"default_lang"`
FallbackPresetID string `mapstructure:"fallback_preset_id"`
}
type DatabaseConfig struct {
Driver string `mapstructure:"driver"`
Dsn string `mapstructure:"dsn"`
}
type LogConfig struct {
Level slog .Level `mapstructure:"level"`
Format string `mapstructure:"format"`
AddSource bool `mapstructure:"add_source"`
}
type PresetConfig struct {
Engine string `mapstructure:"engine"`
Language string `mapstructure:"language"`
VoiceName string `mapstructure:"voice_name"`
SpeakingRate float64 `mapstructure:"speaking_rate"`
}
type RedisConfig struct {
Enabled bool `mapstructure:"enable"`
Url string `mapstructure:"url"`
TTL time .Duration `mapstructure:"ttl"`
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.