Skip to content

Commit

Permalink
fix number
Browse files Browse the repository at this point in the history
  • Loading branch information
inciner8r committed Jan 10, 2024
1 parent 12e25ce commit c7cab67
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/handlers/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func AddHandlers(sess *discordgo.Session) {
fmt.Println("error", err)
return
}
number, _ := strconv.Atoi(args[2])
number := 1
sess_id := s.State.SessionID
nonce := fmt.Sprint(rand.Int())
VarySubtle(number, repliedMessageID, imageID, sess_id, nonce)
Expand All @@ -121,7 +121,7 @@ func AddHandlers(sess *discordgo.Session) {
fmt.Println("error", err)
return
}
number, _ := strconv.Atoi(args[2])
number := 1
sess_id := s.State.SessionID
nonce := fmt.Sprint(rand.Int())
VaryRegion(number, repliedMessageID, imageID, sess_id, nonce)
Expand All @@ -137,7 +137,7 @@ func AddHandlers(sess *discordgo.Session) {
fmt.Println("error", err)
return
}
number, _ := strconv.Atoi(args[2])
number := 1
sess_id := s.State.SessionID
nonce := fmt.Sprint(rand.Int())
VaryStrong(number, repliedMessageID, imageID, sess_id, nonce)
Expand All @@ -152,7 +152,7 @@ func AddHandlers(sess *discordgo.Session) {
fmt.Println("error", err)
return
}
number, _ := strconv.Atoi(args[2])
number := 1
sess_id := s.State.SessionID
nonce := fmt.Sprint(rand.Int())
Upscale2x(number, repliedMessageID, imageID, sess_id, nonce)
Expand All @@ -167,7 +167,7 @@ func AddHandlers(sess *discordgo.Session) {
fmt.Println("error", err)
return
}
number, _ := strconv.Atoi(args[2])
number := 1
sess_id := s.State.SessionID
nonce := fmt.Sprint(rand.Int())
Upscale4x(number, repliedMessageID, imageID, sess_id, nonce)
Expand Down

0 comments on commit c7cab67

Please sign in to comment.