added more tool functions
This commit is contained in:
@@ -10,11 +10,6 @@ var cmd_dadjoke Command = Command{
|
||||
Description: "Gives you a random joke that is as bad as your dad would tell them",
|
||||
},
|
||||
Interact: func(s *discordgo.Session, i *discordgo.InteractionCreate) {
|
||||
s.InteractionRespond(i.Interaction, &discordgo.InteractionResponse{
|
||||
Type: discordgo.InteractionResponseChannelMessageWithSource,
|
||||
Data: &discordgo.InteractionResponseData{
|
||||
Content: simpleGetFromAPI("joke", "https://icanhazdadjoke.com/").(string),
|
||||
},
|
||||
})
|
||||
respond(s, i.Interaction, simpleGetFromAPI("joke", "https://icanhazdadjoke.com/").(string), false)
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user