Compare commits

...

2 Commits

Author SHA1 Message Date
skeletable 1773b5c416 reduce spawn rate 2022-10-13 16:20:23 +02:00
skeletable cc18f7f9d9 spelling 2022-10-13 16:19:50 +02:00
1 changed files with 2 additions and 2 deletions

View File

@ -764,7 +764,7 @@ func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) {
candystr = fmt.Sprint(candyvalue)
}
}
msg := reactions[0].Username + " has claimed the candy! (" + candystr + " 🍬) (" + fmt.Sprint(multiplier) + "x)"
msg := reactions[0].Username + " has claimed the candy! (" + candystr + " 🍬) [" + fmt.Sprint(multiplier) + "x]"
switch bufftype {
case "tewi":
msg += "\n*Good luck!* Global candy droprate temporarily increased!"
@ -788,7 +788,7 @@ func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) {
if m.ChannelID == "946459086554275883" {
rand.Seed(time.Now().Unix())
if rand.Intn(100) < 4 {
if rand.Intn(100) < 3 {
candy(s, m.ChannelID, "")
}
}