Exported utils GetBOFHExcuse

master
Matthieu Lalonde 5 years ago
parent e13d2b90d7
commit eae570f3a8

@ -1,4 +1,4 @@
package bot package utils
import ( import (
"math/rand" "math/rand"
@ -532,8 +532,8 @@ var BOFHExcuses []string = []string{
"Your machine had the fuses in backwards.", "Your machine had the fuses in backwards.",
} }
// getExcuse gets a random excuse from a list of excuses and writes it out // GetBOFHExcuse gets a random excuse from a list of excuses and writes it out
func getBOFHExcuse() string { func GetBOFHExcuse() string {
return BOFHExcuses[randIdx(len(BOFHExcuses)-1)] return BOFHExcuses[randIdx(len(BOFHExcuses)-1)]
} }

Loading…
Cancel
Save