No clue where they got deleted
This commit is contained in:
parent
03d3072d98
commit
95c1d2cca5
|
@ -55,6 +55,8 @@ func (app *application) messageCreate(s *discordgo.Session, m *discordgo.Message
|
|||
app.sendWednesday(s, m)
|
||||
case "github", "source":
|
||||
app.sendGithub(s, m)
|
||||
case "peski", "rotterdam":
|
||||
app.sendPeski(s, m)
|
||||
/* --- Bot commands for words --- */
|
||||
case "spam":
|
||||
app.sendManyPepes(s, m, splitCommand)
|
||||
|
|
|
@ -123,6 +123,14 @@ func (app *application) sendGithub(s *discordgo.Session, m *discordgo.MessageCre
|
|||
}
|
||||
}
|
||||
|
||||
func (app *application) sendPeski(s *discordgo.Session, m *discordgo.MessageCreate) {
|
||||
_, err := s.ChannelMessageSend(m.ChannelID, "https://www.youtube.com/watch?v=P0jHTCJYm44")
|
||||
if err != nil {
|
||||
app.errorLog.Print(err)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
func (app *application) sendManyPepes(s *discordgo.Session, m *discordgo.MessageCreate, splitCommand []string) {
|
||||
override := false
|
||||
|
||||
|
|
Loading…
Reference in New Issue