0

Move settings routines to separate internal module

This commit is contained in:
eleksir
2025-10-12 11:58:03 +03:00
parent 24507ed6b4
commit 79840796f6
5 changed files with 41 additions and 26 deletions

View File

@@ -7,6 +7,8 @@ import (
"os/signal"
"syscall"
"aleesa-irc-go/internal/setting"
"github.com/go-redis/redis/v8"
log "github.com/sirupsen/logrus"
)
@@ -50,6 +52,8 @@ func init() {
userMode.Set("channel", usersModes)
userMode.Delete("channel")
setting.DataDir = config.DataDir
}
// Собственно, какбэ "точка входа" - основная процедура в нашем боте.