diff options
| author | Ada Isopods <me@bathynomus.xyz> | 2024-12-11 22:47:34 -0700 |
|---|---|---|
| committer | Ada Isopods <me@bathynomus.xyz> | 2026-10-21 23:26:26 -0600 |
| commit | d17c0d309eaad4f1269ba235ce95489e473457e6 (patch) | |
| tree | 7c4d8c09d26dc02256fa9d1c2690f4cc9540c1d7 /config__.default.py | |
| parent | cff9bc052b4d959dac3810e9bdc74067b64b6269 (diff) | |
Fix emoji find+replace
Emojis will no longer be added where their names are part of a larger word, eg. category -> :cat:egory where :cat: is a valid emoji
If posts_log.json is invalid program will now overwrite it instead of exploding and dying and getting it all over you about it
Diffstat (limited to 'config__.default.py')
| -rw-r--r-- | config__.default.py | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/config__.default.py b/config__.default.py index 2a19083..a4a7a15 100644 --- a/config__.default.py +++ b/config__.default.py @@ -12,13 +12,4 @@ character_limit = 80 log_length = 168 # How many of the most recently generated posts to log, so that the bot won't repeat them -# The default value of 168 logs a week of hourly posts - -emojis = True -# The markov chain strips colons, which removes emojis from posts but leaves their names. -# If set to True, a list of emoji shortcodes (eg. :neofox_floof:) present in the dataset -# will be stored and any occurences of the emojis' names will be replaced with the code to -# add the emoji back in. This may cause problems with emojis whose names are common words, -# eg. :cat: -# If set to false, emoji names will be removed as well. -# Reimport after changing this setting.
\ No newline at end of file +# The default value of 168 logs a week of hourly posts
\ No newline at end of file |
