Commit graph

10 commits

Author SHA1 Message Date
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
348e451d77 Velasco 3.1
- Added a "print" marker for the end of chat loading
- Added some code for future possible video compatibility in a panic
when normal Animation support didn't work
2018-09-25 23:37:20 +02:00
vylion
8b1fb2bfb8 Velasco 3.0
- Added GIF support
- Added general Animation support
2018-09-25 12:25:25 +02:00
vylion
1f282027fc Velasco 2.0
- Added sticker functionality
- Refactored internal tags
2018-04-23 12:53:03 +02:00
vylion
7de67c0238 Velasco 1.6
- Added ability to change Velasco's probability to answer replies to his
messages, per chat
- Rewritten save-to-file functions for slightly more readability, and
rewritten load-from-file functions accordingly
2018-02-19 17:07:33 +01:00
vylion
f8e40228a7 Velasco 1.5
- Modularized my own ID. Now everyone cas use it's own version of
Velasco more easily
- Added 50% random replies to replies of Velasco's messages
- Rewritten some functions to better use resources in the libraries
2017-09-22 17:30:50 +02:00
vylion
6682510176 Uploading Velasco v1.4.1
- More modularity
- Improved echo
2017-09-21 17:25:18 +02:00
vylion
1d1bd6034e Uploading Velasco v1.4
- It now saves the dictionary of vocabulary directly into the file. No
need to deal with the full list of messages.
- This also means that the amount of elements kept in memory has been
reduced, since there is no need to keep a list with all the words one
after another,apart from the dictionary.
- Modularized some constants, like the frequency of saves if the
frequency of speaking is too large, or the stop words that mark the
start and end of a message.
2017-09-21 15:39:53 +02:00
vylion
810e517757 Uploading Velasco v1.3
- Now starts a message only on the start of a memorized message
- Now does markov chain key lookups with casefold for extra flexibility
- Now saves on /freq change too
- Now updates chat name in chatlog if it changes
2017-09-19 17:58:56 +02:00
vylion
cb33edc3cd Initial commit. Uploading Velasco v1.1 2017-09-19 13:00:56 +02:00