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)
|
app.sendWednesday(s, m)
|
||||||
case "github", "source":
|
case "github", "source":
|
||||||
app.sendGithub(s, m)
|
app.sendGithub(s, m)
|
||||||
|
case "peski", "rotterdam":
|
||||||
|
app.sendPeski(s, m)
|
||||||
/* --- Bot commands for words --- */
|
/* --- Bot commands for words --- */
|
||||||
case "spam":
|
case "spam":
|
||||||
app.sendManyPepes(s, m, splitCommand)
|
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) {
|
func (app *application) sendManyPepes(s *discordgo.Session, m *discordgo.MessageCreate, splitCommand []string) {
|
||||||
override := false
|
override := false
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue