mirror of https://github.com/hak5/scuzzy.git
dont url escape input
parent
86dc52c53c
commit
4cf7177063
|
@ -750,7 +750,7 @@ func (c *Commands) handleDocs(s *discordgo.Session, m *discordgo.MessageCreate)
|
|||
|
||||
askEndpoint := apiurl + spaceId + endpoint
|
||||
|
||||
req := models.AISearchRequest{Query: url.QueryEscape(input)}
|
||||
req := models.AISearchRequest{Query: input}
|
||||
j, err := json.Marshal(req)
|
||||
if err != nil {
|
||||
return errors.New("error marshalling input")
|
||||
|
|
Loading…
Reference in New Issue