26 Commits

Author SHA1 Message Date
Xevion
c9fad55ade Add file docstrings to every .py file, improved exception docstrings, helper func typehint 2021-01-24 23:30:09 -06:00
Xevion
58884a43ff implement blackjack prediction into client logging, privatize Blackjack data variables, letter conversion function 2021-01-24 19:13:21 -06:00
Xevion
bc204fe13d fix utf-8 encoding issues in logging FileHandler, round sleep time logs, add hard table logic, fix switched row/col key in generate 2021-01-24 19:12:00 -06:00
Xevion
9bebdafd7c Card table key and equality methods, Blackjack basic pair and ace table logic 2021-01-24 18:55:37 -06:00
Xevion
f2768df33f helper method for matching bot embeds to users, improve helper method docs/formatting 2021-01-24 18:10:14 -06:00
Xevion
e0e5636c5c move client card parsing into Card.parse_cards method, fix access Union typing mistake, fix missing line in baseline_soft.dat, Card class documentation, remove unneeded Client vars/func 2021-01-24 18:09:44 -06:00
Xevion
1a1ae8baf2 updated .gitignore for logs/database/txt data files 2021-01-24 17:20:06 -06:00
Xevion
6668e6caec name window with ctypes to distiniguish multiple bot instances, remove old task cooldown code and implement timings.Cooldown objects for tasks and command cooldown, datetime.utcnow switch 2021-01-24 17:19:18 -06:00
Xevion
4ca62daea7 Added proper method for modifying (and logging modifications) to Cooldown class, changed to datetime.utcnow instead of localized time.time 2021-01-24 17:18:07 -06:00
Xevion
b1d888b903 begin to simplify on_message using developed parsers, TaskResponse and TaskCooldownMessage active usage, removing print comments 2021-01-24 14:26:38 -06:00
Xevion
c01a301014 plot task data with line plot and stacked plot 2021-01-24 14:25:33 -06:00
Xevion
64688fdbb1 add parsers check_valid implementation, TaskResponse optional logging, TaskCooldownMessage private vars and unparsed duration 2021-01-24 14:25:01 -06:00
Xevion
58a97c9a6b work on new async sqlite3 statistics database 2021-01-24 14:23:28 -06:00
Xevion
e9446c00e2 proper requirements.txt, TOKEN path constant in client.run 2021-01-24 14:22:47 -06:00
Xevion
bf09c13d6c proper path constants, logging level constant, file & stream logging 2021-01-24 14:22:09 -06:00
Xevion
bc1a6c5d7e use STATIC_DIR constants in blackjack table structure generation 2021-01-24 14:20:08 -06:00
Xevion
bc4f13ac52 PlayOptions namedtuple constant class, uncommitted exceptions, use re.compile in parsers regex for IDE color formatting, change logging 2021-01-23 23:57:39 -06:00
Xevion
01762c4dfe custom cooldown class for managing timings separately 2021-01-23 23:56:00 -06:00
Xevion
66abc7d424 repo .gitignore 2021-01-23 20:36:33 -06:00
Xevion
d6b9167ff1 message parsers, strategy table data 2021-01-23 20:36:26 -06:00
Xevion
3e58ec7c87 module init, helpers class, custom exceptions 2021-01-23 20:36:02 -06:00
Xevion
73c9dd26b5 start moving to full blackjack processing, Blackjack and Card class 2021-01-23 20:35:43 -06:00
Xevion
05b72c9f73 begin working on blackjack automation, card processing 2021-01-23 20:35:25 -06:00
Xevion
0062925567 basic task automation client, logging and response processing 2021-01-23 20:34:47 -06:00
Xevion
25632ff614 custom argparse based client launching, token.dat token storage 2021-01-23 20:32:31 -06:00
Xevion
31edc1296b very simple bot implementation from background task example 2021-01-23 20:26:44 -06:00