add chat creation for blink creator

This commit is contained in:
kulikov0 committed 2026-10-22 14:09:51 +02:00
1 parent 6176f4eaf5
commit a1bc54dd62
5 files changed
+1669 -55

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
package blink
import (
_ "embed"
"math/rand/v2"
"strings"
)
//go:embed chat-names.txt
var chatNamesFile string
var chatNames = strings.Split(strings.TrimSpace(chatNamesFile), "\n")
func RandomChatName() string {
return chatNames[rand.IntN(len(chatNames))]
}