stuff
This commit is contained in:
parent
c340084add
commit
9f5104fc35
|
@ -6,3 +6,4 @@ games/us/**
|
|||
blocklist.txt
|
||||
markov.txt
|
||||
inaba9000.exe
|
||||
guilds.db
|
||||
|
|
2
main.go
2
main.go
|
@ -695,7 +695,7 @@ func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) {
|
|||
usercandy := checkUserCandy(reactions[0].ID)
|
||||
if !math.Signbit(float64(candyvalue)) {
|
||||
candystr = "+" + fmt.Sprint(candyvalue)
|
||||
if checkUserCandy(reactions[0].ID) < maxcandy {
|
||||
if checkUserCandy(reactions[0].ID) < maxcandy && maxcandy != 0 {
|
||||
multiplier = maxcandy / usercandy
|
||||
}
|
||||
candyvalue *= multiplier
|
||||
|
|
Loading…
Reference in New Issue