mirror of
https://github.com/watn3y/steamsalty.git
synced 2025-10-25 17:51:04 +02:00
feat: Automatic comment translation using DeepL
Some checks failed
Build and Push to Docker Hub on push to any branch / docker (push) Has been cancelled
Some checks failed
Build and Push to Docker Hub on push to any branch / docker (push) Has been cancelled
This commit is contained in:
parent
c6c7480493
commit
1e94b1fc1e
10 changed files with 250 additions and 20 deletions
8
main.go
8
main.go
|
|
@ -8,16 +8,18 @@ import (
|
|||
|
||||
"github.com/rs/zerolog"
|
||||
"github.com/rs/zerolog/log"
|
||||
|
||||
|
||||
"watn3y/steamsalty/config"
|
||||
deepl "watn3y/steamsalty/deepL"
|
||||
)
|
||||
|
||||
func main() {
|
||||
println("Starting SteamSalty...")
|
||||
|
||||
configureLogger()
|
||||
|
||||
config.LoadConfig()
|
||||
if config.BotConfig.TranslateEnabled {
|
||||
deepl.Init()
|
||||
}
|
||||
|
||||
bot()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue