Commit graph

6 commits

Author SHA1 Message Date
vylion
64c117258d Changed file encoding (part 2) 2020-10-26 22:59:24 +01:00
vylion
724a49f8be Overhaul 2 Finished
Markov -> Generator ✔️
Chatlog -> Metadata ✔️
Scribe -> Reader ✔️
Speaker updated ✔️

Also:
- Updated to python-telegram-bot v. 12 callbacks
- Renamed a lot of variables and rewritten a lot of code to follow Python conventions
- Added a new argument for filter chat IDs
- Changed obtention of username from hardcoded to a library-provided function
- Added a new argument for bot nicknames that it can respond to
2020-10-25 22:56:02 +01:00
vylion
328bd6adbf Overhaul 2 WIP
- Generator (Markov) ✔️
- ChatCard (Chatlog) ✔️
- ChatReader (Scribe) 🚧
- Speaker 🚧
- - Speaker->get_reader()... 🚧
2020-10-07 23:32:10 +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
Vylion
15d79e8826 Update .gitignore 2017-10-28 18:48:03 +00:00
vylion
cb33edc3cd Initial commit. Uploading Velasco v1.1 2017-09-19 13:00:56 +02:00