fix: percentage
This commit is contained in:
parent
2d0e3e5b18
commit
e9f6929ee5
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ import (
|
||||||
"git.wh64.net/muffin/goMuffin/utils"
|
"git.wh64.net/muffin/goMuffin/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
const MUFFIN_VERSION = "5.1.0-gopher_dev.250514a"
|
const MUFFIN_VERSION = "5.1.0-gopher_dev.250514b"
|
||||||
|
|
||||||
var updatedString string = utils.Decimals.FindAllStringSubmatch(MUFFIN_VERSION, -1)[3][0]
|
var updatedString string = utils.Decimals.FindAllStringSubmatch(MUFFIN_VERSION, -1)[3][0]
|
||||||
|
|
||||||
|
|
|
@ -126,7 +126,7 @@ func MessageCreate(s *discordgo.Session, m *discordgo.MessageCreate) {
|
||||||
}
|
}
|
||||||
close(ch)
|
close(ch)
|
||||||
|
|
||||||
if x > 6 && len(learnData) != 0 {
|
if x > 2 && len(learnData) != 0 {
|
||||||
data := learnData[rand.Intn(len(learnData))]
|
data := learnData[rand.Intn(len(learnData))]
|
||||||
user, _ := s.User(data.UserId)
|
user, _ := s.User(data.UserId)
|
||||||
result := resultParser(data.Result, s, m)
|
result := resultParser(data.Result, s, m)
|
||||||
|
|
Loading…
Reference in a new issue