diff --git a/index.example.js b/index.example.js index 6725162..2b9fd5e 100644 --- a/index.example.js +++ b/index.example.js @@ -1,9 +1,9 @@ const JokeAPI = require('.'); -const JokeClient = new JokeAPI({ blacklistflags: ['nsfw', 'explicit'] }); +const JokeClient = new JokeAPI({ safemode: true, blacklistflags: ['nsfw', 'explicit'] }); const get = async () => { // Methods - const joke = await JokeClient.getJoke({ categories: 'coding,dark', idRange: '10-15' }); + const joke = await JokeClient.getJoke({ safemode: false, categories: 'coding,dark', idRange: '10-15' }); console.log(joke); const info = await JokeClient.info({ lang: 'en' });