mirror of https://github.com/velour/catbase.git
Added goatse response
This commit is contained in:
parent
ee15217634
commit
535f1152eb
|
@ -8,6 +8,34 @@ import (
|
|||
"time"
|
||||
)
|
||||
|
||||
var goatse []string = []string{
|
||||
"* g o a t s e x * g o a t s e x * g o a t s e x *",
|
||||
"g g",
|
||||
"o / \\ \\ / \\ o",
|
||||
"a| | \\ | | a",
|
||||
"t| `. | | : t",
|
||||
"s` | | \\| | s",
|
||||
"e \\ | / / \\\\\\ --__ \\\\ : e",
|
||||
"x \\ \\/ _--~~ ~--__| \\ | x",
|
||||
"* \\ \\_-~ ~-_\\ | *",
|
||||
"g \\_ \\ _.--------.______\\| | g",
|
||||
"o \\ \\______// _ ___ _ (_(__> \\ | o",
|
||||
"a \\ . C ___) ______ (_(____> | / a",
|
||||
"t /\\ | C ____)/ \\ (_____> |_/ t",
|
||||
"s / /\\| C_____) | (___> / \\ s",
|
||||
"e | ( _C_____)\\______/ // _/ / \\ e",
|
||||
"x | \\ |__ \\\\_________// (__/ | x",
|
||||
"* | \\ \\____) `---- --' | *",
|
||||
"g | \\_ ___\\ /_ _/ | g",
|
||||
"o | / | | \\ | o",
|
||||
"a | | / \\ \\ | a",
|
||||
"t | / / | | \\ |t",
|
||||
"s | / / \\__/\\___/ | |s",
|
||||
"e | / | | | |e",
|
||||
"x | | | | | |x",
|
||||
"* g o a t s e x * g o a t s e x * g o a t s e x *",
|
||||
}
|
||||
|
||||
type TalkerPlugin struct {
|
||||
Bot *bot.Bot
|
||||
}
|
||||
|
@ -26,6 +54,13 @@ func (p *TalkerPlugin) Message(message bot.Message) bool {
|
|||
return false
|
||||
}
|
||||
|
||||
if message.Body == "goatse" {
|
||||
for _, line := range goatse {
|
||||
p.Bot.SendMessage(channel, line)
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
if len(message.User.Name) != 9 {
|
||||
msg := fmt.Sprintf("Hey %s, we really like to have 9 character nicks because we're crazy OCD and stuff.",
|
||||
message.User.Name)
|
||||
|
|
Loading…
Reference in New Issue