Commit Graph

636 Commits (65671f271bbdd4d2ee4c1dcdbb86bd4b47a48611)

Author SHA1 Message Date
stijndcl e36322b4a7 Add missing await 2022-08-03 16:36:24 +02:00
stijndcl 8dbf68cac0 Don't count testing code as coverage 2022-08-03 16:27:33 +02:00
stijndcl b74f794639 First tests for game stats 2022-07-30 18:27:58 +02:00
stijndcl bf41acd9f4 Make game stats crud functions, split mongo schemas out a bit 2022-07-30 17:50:09 +02:00
stijndcl e4e77502e8 Test all crud stuff up until now 2022-07-30 16:14:32 +02:00
stijndcl a0781a046b Add more tests 2022-07-30 00:24:03 +02:00
stijndcl c4c9461ca3 Fix typing 2022-07-27 22:08:00 +02:00
stijndcl d4dae7826d Require no auth for mongo in tests 2022-07-27 22:02:59 +02:00
stijndcl 5f9a57cd83 Try to fix actions, fix broken test 2022-07-27 21:49:58 +02:00
stijndcl bdaf8a1dc5 Add kwargs to embeds, hide wordle spoilers 2022-07-27 21:32:26 +02:00
stijndcl 4a137bcad8 Allow force-resetting the game 2022-07-27 21:25:07 +02:00
stijndcl db499f3742 WORDLE 2022-07-27 21:10:43 +02:00
stijndcl ea4181eac0 Fix broken time formatting, remove word field 2022-07-26 21:48:50 +02:00
stijndcl cbd3030565 Create initial wordle methods 2022-07-25 22:58:02 +02:00
Stijn De Clercq 2f4c2c347f
Merge pull request #123 from stijndcl/add-mongo
Add MongoDB
2022-07-25 21:32:32 +02:00
stijndcl 9da0bc2c5a Make mypy ignore motor 2022-07-25 21:26:43 +02:00
stijndcl e6b4c3fd76 Create base model for Mongo schemas 2022-07-25 21:20:09 +02:00
stijndcl 6bebd109bb Set up mongo connection in pytest & fix authentication url 2022-07-25 21:08:06 +02:00
stijndcl 52b452c85a Fix mongo connection 2022-07-25 20:33:20 +02:00
stijndcl 9abe5dd519 Rename database fixture 2022-07-25 19:12:27 +02:00
stijndcl 665d677941 Modify config files to support Mongo 2022-07-25 19:07:57 +02:00
stijndcl b54aed24e8 Log errors in Discord channels 2022-07-24 21:35:38 +02:00
stijndcl 2e3b4823d0 Update sync 2022-07-24 18:30:03 +02:00
stijndcl 424399b88a Translate to english 2022-07-24 17:09:42 +02:00
stijndcl edc6343e12 Create owner-guild-only commands, make sync a bit fancier 2022-07-24 16:39:27 +02:00
stijndcl 0834a4ccbc Write tests for tasks 2022-07-24 01:49:52 +02:00
stijndcl da0e60ac4f Send daily birthday notifications, add more settings & configs, fix small bugs in database 2022-07-23 23:21:32 +02:00
stijndcl 393cc9c891 Add support for lazy loading of user fields 2022-07-23 22:34:03 +02:00
stijndcl 66997b7556 Fix broken migration 2022-07-23 20:59:02 +02:00
stijndcl 8bc0f1fa7a Add birthday task, change migrations to use date instead of datetime 2022-07-23 20:35:42 +02:00
stijndcl adcf94c66e Tests for birthday commands, overwrite existing birthdays 2022-07-19 23:35:41 +02:00
stijndcl f49f32d2e9 Add birthday commands 2022-07-19 22:58:59 +02:00
Stijn De Clercq 016d87bcea
Merge pull request #121 from stijndcl/pre-commit
Add pre-commit hooks
2022-07-19 21:39:39 +02:00
stijndcl bb903fdad5 Update readme & config files 2022-07-19 21:33:18 +02:00
stijndcl e371e2cc5c Add pre-commit config, make tests a requirement for quality checks 2022-07-19 21:12:04 +02:00
Stijn De Clercq 3057222607
Merge pull request #120 from stijndcl/pytest-migrations
Small cleanup in migrations fix
2022-07-19 19:00:57 +02:00
stijndcl 8bd4495016 Small cleanup 2022-07-19 18:57:24 +02:00
Stijn De Clercq 6c225bacc1
Merge pull request #119 from stijndcl/pytest-migrations
Use migrations in tests
2022-07-19 18:53:07 +02:00
stijndcl 9401111bee Try to use migrations in tests 2022-07-19 18:49:22 +02:00
stijndcl f4056d8af6 Fix typing & linting 2022-07-18 23:39:14 +02:00
stijndcl c9dd275860 Fix failing test 2022-07-18 23:23:53 +02:00
stijndcl 0c810d84e9 Google search 2022-07-18 23:22:28 +02:00
stijndcl 1aeaa71ef8 Add extra tests 2022-07-18 22:00:39 +02:00
stijndcl 8227190a8d Fix mypy & tests 2022-07-16 00:19:05 +02:00
stijndcl 3debd18d82 Add dad jokes 2022-07-16 00:14:02 +02:00
stijndcl 3d0f771f94 Load year from settings 2022-07-15 23:14:56 +02:00
stijndcl 5b47397f29 Add study guide commands, get auto-completion for full course names based on aliases 2022-07-15 23:06:40 +02:00
stijndcl 72c3acbcc2 Add simple caching implementation for database queries that will be used in command autocompletion 2022-07-14 22:44:22 +02:00
stijndcl f0a05c8b4d Wrap result in a list 2022-07-14 22:03:56 +02:00
stijndcl 84bf1d7a26 Add crud functions to get ufora courses 2022-07-14 22:03:30 +02:00