working on imgur function

This commit is contained in:
2020-06-06 21:13:55 -05:00
parent 110c1c472f
commit 4e81567338
2 changed files with 49 additions and 2 deletions

View File

@@ -64,7 +64,7 @@ func message_create (s *discordgo.Session, m *discordgo.MessageCreate) {
// awwnime (test)
if message == "awwnime" {
// get url
url := <-get_redditbooru_image("awwnime")
url := <-get_imgur_image("awwnime")
// print message with url
s.ChannelMessageSend(m.ChannelID, url)