Skip to content
Snippets Groups Projects
Verified Commit cb985aef authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

fix: wrong rng usage in 8ball command

parent 11994db8
No related branches found
No related tags found
No related merge requests found
...@@ -52,7 +52,7 @@ func main() { ...@@ -52,7 +52,7 @@ func main() {
"Concentrate and ask again", "Concentrate and ask again",
} }
var answers []string var answers []string
switch rand.IntN(2) { switch rand.IntN(3) {
case 0: case 0:
answers = positive answers = positive
break break
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment