No clue where they got deleted

This commit is contained in:
DutchEllie 2021-09-23 14:35:43 +02:00
parent 03d3072d98
commit 95c1d2cca5
2 changed files with 10 additions and 0 deletions

View File

@ -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)

View File

@ -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