Skip to content

dev-idkwhoami/ChatFilter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

ChatFilter

You wanna use this list yourself?

Here a method how you can get get a List of these bad words:

    private Gson gson = new GsonBuilder().serializeNulls().setPrettyPrinting().create();

    public List<String> getBadWords() throws IOException {
        URL url = new URL("https://raw.githubusercontent.com/IDK-WHO-AM-I/ChatFilter/master/words.json");
        try (BufferedReader reader = new BufferedReader(new InputStreamReader(url.openStream()))) {
            return gson.fromJson(reader, new TypeToken<List<String>>() {
            }.getType());
        }
    }

About

My Public bad words list for word filters

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published