2020-06-09 13:04:44 +00:00
|
|
|
package discord
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
)
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
commands["fired"] = command{
|
|
|
|
validate: func(cmd commandInit) bool {
|
|
|
|
return true
|
|
|
|
},
|
2020-06-12 05:17:58 +00:00
|
|
|
run: func(cmd commandInit) (string, error) {
|
|
|
|
return fmt.Sprintf("Carolyn has been fired **%d** times!",
|
|
|
|
cmd.database.CheckPing(cmd.config.FiredRole)), nil
|
2020-06-09 13:04:44 +00:00
|
|
|
},
|
|
|
|
help: "Check how many times Carolyn has been fired.",
|
|
|
|
}
|
|
|
|
}
|