Commit graph

2 commits

Author SHA1 Message Date
vylion
f015e4bc60 🪲 Fixed again the folder creation for new chats.
🪲 Fixed /period giving an error message despite successfully
saving the new period.
🪲 Fixed /answer not updating.
2019-03-31 14:55:51 +02:00
vylion
d075624263 Velasco Big Overhaul Update
📝 Changed the whole script files hierarchy:
- velasco.py starts up the telegram bot
- speaker.py has all the bot behavior methods
- A Parrot is what stores a Markov object
- An Scribe stores a single chat's data
- A Speaker has an Scriptorium, with all active Scribes
- A Speaker has a single Parrot, the one associated with the last
Scribe that had to send a message
- An Archivist is in charge of loading the Scriptorium at startup, as
well as storing Scribes and Parrots in files

🐞 Fixed a bug that stopped new Parrots from being saved, prevented
because their non-existing file could not be loaded into the Speaker's
Parrot
2019-03-27 13:34:22 +01:00