Moved to cdn.nicecock.eu again. Welcome back
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
e4d3313e44
commit
d830404b06
|
@ -53,7 +53,7 @@ func (app *application) sendPepe(s *discordgo.Session, m *discordgo.MessageCreat
|
||||||
}
|
}
|
||||||
|
|
||||||
func (app *application) sendCringe(s *discordgo.Session, m *discordgo.MessageCreate) {
|
func (app *application) sendCringe(s *discordgo.Session, m *discordgo.MessageCreate) {
|
||||||
_, err := s.ChannelMessageSend(m.ChannelID, "https://cdn.home.dutchellie.nl/cringe.webm")
|
_, err := s.ChannelMessageSend(m.ChannelID, "https://cdn.nicecock.eu/cringe.webm")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
app.errorLog.Print(err)
|
app.errorLog.Print(err)
|
||||||
return
|
return
|
||||||
|
@ -94,7 +94,7 @@ func (app *application) sendTuesday(s *discordgo.Session, m *discordgo.MessageCr
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
_, err := s.ChannelMessageSend(m.ChannelID, "https://cdn.home.dutchellie.nl/TBT.webm")
|
_, err := s.ChannelMessageSend(m.ChannelID, "https://cdn.nicecock.eu/TBT.webm")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
app.errorLog.Print(err)
|
app.errorLog.Print(err)
|
||||||
return
|
return
|
||||||
|
|
|
@ -59,7 +59,7 @@ func (app *application) sendPepe(w http.ResponseWriter, r *http.Request) {
|
||||||
rd := rand.New(s) // Init pseudorandom generator
|
rd := rand.New(s) // Init pseudorandom generator
|
||||||
number := rd.Intn(len(app.pepe_list))
|
number := rd.Intn(len(app.pepe_list))
|
||||||
|
|
||||||
baseURL := "https://cdn.home.dutchellie.nl/pepe/1.00/"
|
baseURL := "https://cdn.nicecock.eu/pepe/1.00/"
|
||||||
URL := baseURL + app.pepe_list[number]
|
URL := baseURL + app.pepe_list[number]
|
||||||
|
|
||||||
w.Write([]byte(URL))
|
w.Write([]byte(URL))
|
||||||
|
|
Loading…
Reference in New Issue