Skip to content

Commit

Permalink
Update modules.go
Browse files Browse the repository at this point in the history
  • Loading branch information
YABOIpy authored Apr 28, 2023
1 parent 8d5d77b commit 30fa88a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/modules.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,15 @@ func (Xc *Config) Config() Config {
return config
}

func (Xc *Config) LazyCookie() string {
var cook string
go func() { cook = cookies() }()
return cook
}

func (Xc *Config) GetCookie() string {
var cook string
go func() { cook = cookies() }()
cook = cookies()
return cook
}

Expand Down Expand Up @@ -452,7 +457,7 @@ func (Xc *Config) Presence(Count int) {
client.SetActivity(client.Activity{
State: "Bots Loaded:",
Details: "Go Mass DM | github.com/YABOIpy",
LargeImage: "b51b78ecc9e5711274931774e433b5e6",
LargeImage: "godm_logo",
LargeText: "https://github.com/yaboipy",
SmallImage: "go-logo",
SmallText: "Ver " + fmt.Sprint(Xc.Config().Mode.Discord.Version),
Expand Down

0 comments on commit 30fa88a

Please sign in to comment.