add chat creation for blink creator
This commit is contained in:
1 parent
6176f4eaf5
commit
a1bc54dd62
5 files changed
+1669
-55
No files matched your search
@@ -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))]
|
||||
}
|
||||
Reference in new issue
Block a user