v2.0 update log:
- Punctuation (commas, dots, apostrophes, etc.) are now split as a separate word in the database.
- Added
AllowedUsers
field - gives developer (or whichever users are specified here) the permission to bypass the cooldown, or use the generate command even when the command is disabled. - Added
WhisperCooldown
field - whether the Bot whispers the cooldown message. Otherwise, do not send the cooldown.- Still always whisper in certain situations, such as when the broadcaster updates the cooldown by whispering the Bot.
- Added
EnableGenerateCommand
field - enables or disables!generate
. Broadcaster andAllowerUsers
can override this setting, and still generate. - Start a second sentence if the generated sentence is too short, uses a new
MinSentenceWordAmount
value in settings.json. - Added a
SentenceSeparator
value, which is placed inbetween sentences, when multiple sentences are generated (only when the first sentence was too short according toMinSentenceWordAmount
) - Renamed
settings.txt
withsettings.json
, which is automatically updated from v1.0 - Update the database according to the punctuation changes. This creates a ..._backup.db file with the old database.
- Add a Tokenizer file that handles splitting up a sentence into tokens, and merging tokens back into sentences.
- Improved README - removed troublesome HTML tags, improved readability, and added new fields in settings.
- Modified default outputs slightly (e.g. after using
!enable
). - The default help Timer is now once every 5 hours, instead of off.
- Added
.gitignore
. - Added typing to parameters in methods.
- Added better docstrings to methods.
- Improved code quality.
Thanks to @justinrusso for the help.
- Tom Aarsen