-
Notifications
You must be signed in to change notification settings - Fork 9
GrammarNazi Discord Bot
This bot analyzes each message that is sent in a Discord channel, and if it finds any spelling or grammar errors, it replies to the message with its corrections using the asterisk symbol (*).
- Configurable grammar analyzer algorithm or provider.
- Multiple language support (English and Spanish).
- Strictness Level.
- Whitelist Words.
The bot has a lot of configurability. When you wan't to get a quick resume of all commands, use the !help command.
This command will list the main commands with a quick description of its functionality.
This command will stop the Bot of analyzing the messages.
This command will resume the Bot functionality if it was stopped.
This command will list the configured settings for the bot in the current chat.
This command is for setting a Grammar Algorithm. It will show up Algorithm options to select.
Currently the bot has 4 grammar algorithms:
- Internal Algorithm (BETA): This is our own grammar algorithm based on our dictionary.
- LanguageTool API: This is based on https://languagetool.org/
- YandexSpeller API: This is based on https://yandex.ru/dev/speller/
- Datamuse API: This is based on http://www.datamuse.com/
The algorithms are enumerated, so each one has his coresponding number. You also can set an algorithm typing:
!set_algorithm <algorithm_number>
Example:
!set_algorithm 1
This will set the bot to use the Internal Algorithm (BETA) for the current chat.
This command is for setting a language. It will show up language options to select.
Currently the bot supports 2 languages:
- Auto
- English
- Spanish
The languages are enumerated, so each one has his coresponding number. You can also set an language typing:
!lang <language_number>
Example:
!lang 1
This will set the bot to use the language English for the current chat.
A correction has a message with details about it. You can hide those details with this command.
Show correction details.
The bot has Strictness levels for corrections. The Tolerant Strictness level will ignore some basic common spelling mistakes.
The Intolerant Strictness corrects every single possible error found.
You can have a list of ignored words. This command will list the list of ignored words for the current chat.
Add a word to the whitelist of the current chat.
Use:
!add_whitelist <word>
Example:
!add_whitelist Test
Remove a word from the whitelist of the current chat.
Use:
!remove_whitelist <word>
Example:
!remove_whitelist Test