summaryrefslogtreecommitdiff
path: root/bot.go
diff options
context:
space:
mode:
Diffstat (limited to 'bot.go')
-rw-r--r--bot.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot.go b/bot.go
index d1f4eaa..13ee074 100644
--- a/bot.go
+++ b/bot.go
@@ -1524,7 +1524,7 @@ func init() {
if cfg.STT_ENABLED {
asr = NewSTT(logger, cfg)
}
- if !cfg.NoPlaywright {
+ if cfg.PlaywrightEnabled {
if err := checkPlaywright(); err != nil {
// slow, need a faster check if playwright install
if err := installPW(); err != nil {