Skip to content

Commit

Permalink
Made Google search use medium safe-search preset (#11)
Browse files Browse the repository at this point in the history
* Made Google search use medium safe-search preset
  • Loading branch information
kantenkugel authored and DV8FromTheWorld committed Sep 8, 2017
1 parent cb10f87 commit 01ddd92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/dv8tion/discord/util/GoogleSearch.java
Expand Up @@ -30,7 +30,7 @@

public class GoogleSearch
{
public static final String GOOGLE_URL = "https://www.googleapis.com/customsearch/v1?cx=%s&key=%s&num=%d&q=%s";
public static final String GOOGLE_URL = "https://www.googleapis.com/customsearch/v1?safe=medium&cx=%s&key=%s&num=%d&q=%s";
private static String GOOGLE_API_KEY = null;
private static LocalDateTime dayStartTime = null;
private static int currentGoogleUsage = 0;
Expand Down

0 comments on commit 01ddd92

Please sign in to comment.