Commit Graph

  • 3525ea42e1 Jack's Changes (#1) main Zed 2024-04-23 22:19:20 +00:00
  • f1db0f62fc Await discord user interaction with name get c0de 2022-12-10 17:57:53 -06:00
  • fd5f5a7e7a I Completely disagree with this decision. c0de 2022-12-10 12:36:36 -06:00
  • fc2fe0a396 update help c0de 2022-12-10 12:31:56 -06:00
  • 292db8133d clear total points c0de 2022-12-10 12:31:19 -06:00
  • febdfaf355 Format points table with beautifultable c0de 2022-12-09 23:20:54 -06:00
  • 9702e1e77a Add reset command / module c0de 2022-12-09 23:20:20 -06:00
  • ff5e7f310a Sort endgame table by difference c0de 2022-12-09 23:15:28 -06:00
  • d7f4540dcd Install beautifultable c0de 2022-12-09 22:44:04 -06:00
  • 97a1ab1b2b disable too-few-public-methods pylint warning c0de 2022-12-09 22:30:36 -06:00
  • 43cfb49cd6 remove unused import c0de 2022-12-09 22:28:51 -06:00
  • 133af80aad Use BeautifulTable library to make nice tables :3 c0de 2022-12-09 22:28:37 -06:00
  • 59d1dc4afb generate uuid on the model c0de 2022-12-09 21:34:47 -06:00
  • 7577e3afee generate the uuid on the model c0de 2022-12-09 21:34:32 -06:00
  • ad70870d8e Update readme with correct information c0de 2022-11-12 01:01:27 -06:00
  • a774d0a0fc It's baseball, not ghostball :) c0de 2022-11-12 01:00:24 -06:00
  • 512b3b05d2 Nedc to set difference to the class c0de 2022-11-12 00:02:14 -06:00
  • 0c4224314b Add ping to help message c0de 2022-11-11 23:55:15 -06:00
  • 1a3d2f0b14 update dockerfile c0de 2022-11-11 21:29:05 -06:00
  • 4318b58db0 remove comment c0de 2022-11-11 21:23:17 -06:00
  • a32bb598d2 Get rid of original/reference code, move everything to root c0de 2022-11-11 20:34:34 -06:00
  • dbaa692711 Add dockerfile c0de 2022-11-11 20:16:36 -06:00
  • 5557c16d8c Sync vscode settings because why not c0de 2022-11-11 20:16:25 -06:00
  • b7bd032e07 format with black c0de 2022-11-11 20:07:23 -06:00
  • 16a419f558 Fix circular import issue c0de 2022-11-11 20:06:14 -06:00
  • 03fcc5ef52 Uninstall dateparser c0de 2022-11-11 13:03:26 -06:00
  • 5f70ffd69b Init before registering command c0de 2022-11-11 12:52:54 -06:00
  • 460a3e08d2 Remove comment c0de 2022-11-10 22:45:16 -06:00
  • 51092e52a2 Add extra whitespace c0de 2022-11-10 22:44:24 -06:00
  • b067a6ca07 Use the new game manager c0de 2022-11-10 22:43:49 -06:00
  • bcbb74a3e1 Create composit class of available commands c0de 2022-11-10 22:43:40 -06:00
  • 0ed4ca4034 Add process_guess (this is the old guess.py) c0de 2022-11-10 22:43:19 -06:00
  • 2d8dc471f5 Add help manager c0de 2022-11-10 22:42:45 -06:00
  • 1b53d230cb Add points manager c0de 2022-11-10 22:42:38 -06:00
  • 13eab14f17 Add guess manager c0de 2022-11-10 22:42:30 -06:00
  • 3e98b025c7 Add end game manager c0de 2022-11-10 22:42:20 -06:00
  • f9a5a8023d Add new game manager c0de 2022-11-10 22:42:08 -06:00
  • 98de64b7aa Add new game manager c0de 2022-11-10 22:41:42 -06:00
  • 353f858bac Delete GameManager c0de 2022-11-10 22:40:33 -06:00
  • e05f023c4e Update docstrings c0de 2022-11-10 22:13:07 -06:00
  • 7818109a9c Fix database query c0de 2022-11-10 22:10:58 -06:00
  • 49f2630e38 Save to database seperately from getting points c0de 2022-11-10 22:10:31 -06:00
  • 175b02536c Refactor init to what is passed and defaults c0de 2022-11-10 22:09:36 -06:00
  • 5cf6b30eb2 Remove check_is_running decorator since it didn't work c0de 2022-11-10 21:59:49 -06:00
  • 7cf006cd4f Add help command c0de 2022-11-10 21:58:55 -06:00
  • 5131c4a3c1 linting c0de 2022-11-10 21:46:42 -06:00
  • fbf588a85e Show table of points c0de 2022-11-10 21:46:18 -06:00
  • bf8819fb46 Show total difference c0de 2022-11-10 21:45:45 -06:00
  • 946d826dc4 Only update the guess for the current game c0de 2022-11-10 21:05:21 -06:00
  • 83b6bda124 Linting changes c0de 2022-11-10 21:03:38 -06:00
  • e68ef52292 Add calculation for the difference score c0de 2022-11-10 21:02:20 -06:00
  • 3435e4ce7a Fix to the point of being runnable c0de 2022-11-09 11:48:31 -06:00
  • eb5ed5fe9e update readme c0de 2022-10-30 22:56:41 -05:00
  • e39a19da55 [refactor] Processing guesses moved to own class c0de 2022-10-30 22:24:51 -05:00
  • f6860bb43f maybe, maybe not c0de 2022-10-27 00:18:12 -05:00
  • 3c5fead8b0 Allow the bot to see channel messages c0de 2022-10-27 00:04:54 -05:00
  • b6377aef97 no change database path c0de 2022-10-26 23:53:46 -05:00
  • 9a39399936 Don't need to pass game manager instance c0de 2022-10-26 23:37:23 -05:00
  • 65bc29cfa1 Refactor and get the game to run (in DMs) c0de 2022-10-26 23:36:41 -05:00
  • b0c6b8e5bb Create database before starting the client c0de 2022-10-26 23:35:52 -05:00
  • e9d80e5e62 Add PlayerModel to create_models c0de 2022-10-25 23:18:52 -05:00
  • 1a62747da1 Difference code in place c0de 2022-10-25 23:17:57 -05:00
  • efe58e0278 Add Player Model for total points c0de 2022-10-25 23:17:06 -05:00
  • 84e4975d27 The game is GameManager now c0de 2022-10-25 23:16:33 -05:00
  • 3dfbb247da Change guess update logic c0de 2022-10-25 19:23:54 -05:00
  • f4bd33b4d5 Fix linting on Game c0de 2022-10-24 20:53:51 -05:00
  • 545e0442eb Fix linting on database models (except todo) c0de 2022-10-24 20:31:47 -05:00
  • e0dc0e6b78 Fix linting issues with client c0de 2022-10-24 20:22:04 -05:00
  • b154efb6cc Fix linting issues with main c0de 2022-10-24 20:06:50 -05:00
  • 57a808f19d Create lint log c0de 2022-10-24 20:05:21 -05:00
  • b32d76bf16 The decorator should be outside of the class c0de 2022-10-24 20:02:26 -05:00
  • 07ecd2248c Format with Black c0de 2022-10-24 20:00:39 -05:00
  • 7d684d8b9d Install pylint and black c0de 2022-10-24 19:59:18 -05:00
  • 1845e42488 Use the with statement on the game class c0de 2022-10-24 19:55:50 -05:00
  • 7101db5394 We'll be fine with one database connection, and don't have to repeat ourselves c0de 2022-10-24 19:13:34 -05:00
  • 49d3672936 Add extra time tracking c0de 2022-10-24 19:12:48 -05:00
  • 8ab3cd611f These need to be named properly c0de 2022-10-24 18:49:26 -05:00
  • e771ea8764 Ignore databases c0de 2022-10-24 18:47:12 -05:00
  • 321fa9ae7c It's an Integer c0de 2022-10-24 18:43:38 -05:00
  • 59b8c673e0 Use correct model class c0de 2022-10-03 20:08:42 -05:00
  • 311dcac071 Fix import paths c0de 2022-10-03 20:08:27 -05:00
  • b95e5d6bad Install dateparser c0de 2022-10-03 20:07:01 -05:00
  • c08eb54081 Update readme c0de 2022-10-03 19:58:48 -05:00
  • 2cc664dd06 Fix class identification for ide c0de 2022-10-03 19:47:55 -05:00
  • 5ece30bb03 Need to pass a game instance to bare function calls c0de 2022-10-03 19:42:42 -05:00
  • 348ae34dd3 Add !points command c0de 2022-10-03 19:41:02 -05:00
  • 305dda222f Add !guess command c0de 2022-10-03 19:33:15 -05:00
  • 65192ab2c2 Begin adding game logic c0de 2022-09-23 21:41:03 -05:00
  • 67a018f897 Add the bot entrypoint c0de 2022-09-23 21:40:51 -05:00
  • 04e1556d2d Add discord client implementation c0de 2022-09-23 21:40:35 -05:00
  • ddbb884a43 Add database models c0de 2022-09-23 21:40:18 -05:00
  • b43ee8a39c Set environment variables and start the game c0de 2022-09-23 21:39:58 -05:00
  • 38b549e10c New app - Install dependencies c0de 2022-09-23 21:39:37 -05:00
  • 2566104b0d Add readme for the idea c0de 2022-09-23 17:48:40 -05:00
  • 20ca7befdf Initial Code c0de 2022-09-23 17:40:31 -05:00
  • f96618d2d1 Fixed point fetching and special resolution by player LaDfBC 2021-01-02 17:41:14 -06:00
  • 16a74828a2 Fixed no-participants. No longer allowed to guess lower than 0 or above 1000. Improved resolution output LaDfBC 2021-01-01 21:45:28 -06:00
  • f592bb8234 Adding points check and fixing some minor other issues LaDfBC 2020-12-20 10:11:09 -06:00
  • caa0819d91 Bot now explains who won each play LaDfBC 2020-11-29 11:51:10 -06:00
  • 143fd45149 Update to discordpy 1.0 LaDfBC 2020-11-27 22:42:13 -06:00