Commit graph

17 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
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
c6053724c8 Velasco 2.4
- Added ability to force Velasco to answer to another message
(send command "/speak" as an answer to the message that you want Velasco
to reply to).
2018-09-25 11:38:43 +02:00
vylion
edca56e23c Velasco 2.3b
- Removed wake up messages from non-group chats
2018-09-21 00:10:10 +02:00
vylion
82d5863d27 Velasco 2.3
- Fixed some problems with the new periodical replies
- Merged last 2 commits properly
2018-09-20 23:55:34 +02:00
vylion
19f89d3ea9 Velasco 2.2
- Added optional configuration restrictions to admin-only
2018-09-20 22:32:14 +02:00
Vylion
2d93cad2e6 velasco 2.1
- Added the possibility of answering a message in the interval since the 
last Velasco message when chatting because of freq
2018-08-10 09:33:47 -04: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
13838527bb Uploaded Velasco v1.2:
- Added /speak command.
- Fixed typo at /freq.
- Fixed setting /freq 0.
2017-09-19 13:50:16 +02:00
vylion
cb33edc3cd Initial commit. Uploading Velasco v1.1 2017-09-19 13:00:56 +02:00