Skip to content

Commit

Permalink
add "Quotobot" to spellcheck dict
Browse files Browse the repository at this point in the history
  • Loading branch information
bgv2 committed Jun 1, 2024
1 parent 0a41331 commit ad878d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ process.on("uncaughtException", async (err) => {
process.exit(1);
})
const splchecker = new SpellChecker(new SpellCfg({ ignoreCase: false, languages: ['en-us'] }));
splchecker.addDictionaryPhrase('Quotobot');
splchecker.addDictionaryPhrase('quotobot');
splchecker.addProviderByConfig({ name: 'hunspell' });
bot.login(token);
bot.on("warn", m => console.warn(chalk`{yellow Warning: ${m}}`));
Expand Down

0 comments on commit ad878d0

Please sign in to comment.