2020-06-09 13:04:44 +00:00
|
|
|
package discord
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
)
|
|
|
|
|
|
|
|
func init() {
|
2021-02-23 05:53:55 +00:00
|
|
|
commands = append(commands, &command{
|
|
|
|
name: "fired",
|
2020-06-09 13:04:44 +00:00
|
|
|
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.",
|
2021-02-23 05:53:55 +00:00
|
|
|
})
|
2020-06-09 13:04:44 +00:00
|
|
|
}
|