20 lines
398 B
Go
20 lines
398 B
Go
package discord
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
func init() {
|
|
commands = append(commands, &command{
|
|
name: "fired",
|
|
validate: func(cmd commandInit) bool {
|
|
return true
|
|
},
|
|
run: func(cmd commandInit) (string, error) {
|
|
return fmt.Sprintf("Carolyn has been fired **%d** times!",
|
|
cmd.database.CheckPing(cmd.config.FiredRole)), nil
|
|
},
|
|
help: "Check how many times Carolyn has been fired.",
|
|
})
|
|
}
|