alwayscompiling
|
76d6ba7969
|
Change to sqlalchemy and orm scheme. Remove classes due to orm. Edit requirements.
|
2022-11-27 22:20:29 -05:00 |
|
alwayscompiling
|
f95d3130ff
|
Updating requirements.
|
2022-11-27 09:26:44 -05:00 |
|
alwayscompiling
|
09696071ef
|
Correct guild id property name.
|
2022-11-27 00:43:24 -05:00 |
|
alwayscompiling
|
e5d11d200c
|
Update score to mainly hold sql query information.
|
2022-11-27 00:35:42 -05:00 |
|
alwayscompiling
|
6a87622b58
|
Update category class to just hold sql data.
|
2022-11-27 00:23:15 -05:00 |
|
alwayscompiling
|
9bc88a7e03
|
Do not need highscores_data class.
|
2022-11-27 00:07:42 -05:00 |
|
alwayscompiling
|
4c0e6a6209
|
Change table class to guild class. Change to just store sql table information.
|
2022-11-27 00:07:15 -05:00 |
|
alwayscompiling
|
017cb7c9df
|
Update Guild class to hold sql Guilds table information.
|
2022-11-27 00:02:30 -05:00 |
|
alwayscompiling
|
17867671f1
|
Change order of database columns for easier reading.
|
2022-11-26 23:49:02 -05:00 |
|
alwayscompiling
|
8896e41726
|
Revert "Remove all data storage classes."
This reverts commit 77a32b3adc.
|
2022-11-26 23:20:35 -05:00 |
|
alwayscompiling
|
12a55dd626
|
Connect to db on bot start. Remove message map.
|
2022-11-26 21:36:38 -05:00 |
|
alwayscompiling
|
77a32b3adc
|
Remove all data storage classes.
|
2022-11-26 20:59:44 -05:00 |
|
alwayscompiling
|
2f10a1c7e6
|
Final changes to correct primary key and uniqueness rules.
|
2022-11-26 20:52:54 -05:00 |
|
alwayscompiling
|
a3bed52479
|
Remove password in dockerfile, change guild/channel ids to bigint unsigned.
|
2022-11-26 17:29:04 -05:00 |
|
alwayscompiling
|
6b7dd6042d
|
Add files for docker sql server.
|
2022-11-25 14:15:55 -05:00 |
|
alwayscompiling
|
c4d5477f8b
|
Merge branch '1-add-more-administrative-commands' into develop
|
2022-11-24 17:55:06 -05:00 |
|
alwayscompiling
|
f5342f1541
|
Fill functionality for delete user from_table and from_category.
|
2022-11-24 17:47:21 -05:00 |
|
alwayscompiling
|
1e336e290d
|
Catching AttributeError in autofill functions when invalid variables are sent.
|
2022-11-24 17:45:40 -05:00 |
|
alwayscompiling
|
9ebbca2557
|
Fill out docstrings.
|
2022-11-24 17:05:45 -05:00 |
|
alwayscompiling
|
8a2108fc14
|
Create shell commands and autofill functions. Fix set initializer in utils.autofill_users.
|
2022-11-22 17:12:26 -05:00 |
|
alwayscompiling
|
03c7a9303a
|
Small rewrite to consolidate autofill_user function. Sort imports in message_management.py.
|
2022-11-22 17:02:18 -05:00 |
|
alwayscompiling
|
a0c5527bf6
|
Create autofill functions for users in category and in table. Add function in category class to return a list of all users.
|
2022-11-22 16:26:31 -05:00 |
|
alwayscompiling
|
8155fb0c8f
|
Reorganized commands to facilitate new commands.
|
2022-11-22 16:01:55 -05:00 |
|
alwayscompiling
|
06b46ef27c
|
Create general autofill table and category util functions. Update table class to have get categories function.
|
2022-11-17 14:50:48 -05:00 |
|
alwayscompiling
|
1858f0c37d
|
Add refresh table command.
|
2022-11-16 16:30:34 -05:00 |
|
alwayscompiling
|
792a225987
|
Correct docstring
|
2022-11-15 16:17:22 -05:00 |
|
alwayscompiling
|
2e324dc9c5
|
Use the new category pad length variable.
|
2022-11-15 15:52:58 -05:00 |
|
alwayscompiling
|
09f7a4323c
|
Correct category pad default.
|
2022-11-15 15:50:12 -05:00 |
|
alwayscompiling
|
dd73e9b472
|
Add commands to edit username length and category pad.
|
2022-11-15 15:48:17 -05:00 |
|
alwayscompiling
|
b4f5ddc822
|
Update to nextcord 2.3.2.
|
2022-11-12 01:16:04 -05:00 |
|
alwayscompiling
|
d2f33959ed
|
Create remove_user command.
|
2022-08-13 21:46:41 -04:00 |
|
alwayscompiling
|
652533d071
|
Should have handled username updating code in the command, didn't need to create new functions for the command.
|
2022-08-13 21:26:50 -04:00 |
|
alwayscompiling
|
73e350c845
|
Save takes guild object, not id.
|
2022-08-13 20:46:59 -04:00 |
|
alwayscompiling
|
9dec15dbfa
|
Correct table update_username.
|
2022-08-13 20:45:29 -04:00 |
|
alwayscompiling
|
41ba4dc23c
|
Save data after modified.
|
2022-08-13 20:40:06 -04:00 |
|
alwayscompiling
|
790cff3406
|
Clear view on approval.
|
2022-08-13 20:33:14 -04:00 |
|
alwayscompiling
|
7fb87ae12f
|
Add username setter.
|
2022-08-13 20:30:21 -04:00 |
|
alwayscompiling
|
2407e61913
|
Correcting embed access.
|
2022-08-13 20:30:03 -04:00 |
|
alwayscompiling
|
6147263647
|
Add UpdateUsernameVerify view to MessageManagementCog.
|
2022-08-13 20:23:56 -04:00 |
|
alwayscompiling
|
cb71cbe1d5
|
Create update_username functions for category and table.
|
2022-08-13 20:08:57 -04:00 |
|
alwayscompiling
|
080356fe9c
|
Create Guild.update_username().
|
2022-08-13 19:48:29 -04:00 |
|
alwayscompiling
|
d4e19284f0
|
Create view for verifyng username update request.
|
2022-08-12 23:18:21 -04:00 |
|
alwayscompiling
|
ae9153b78e
|
Change submission views to be more informative.
|
2022-08-12 22:49:54 -04:00 |
|
alwayscompiling
|
ca58e9ac26
|
Create initial update_username command.
|
2022-08-12 22:39:12 -04:00 |
|
alwayscompiling
|
432888e468
|
Tag user on submission verify.
|
2022-08-12 22:28:14 -04:00 |
|
alwayscompiling
|
c918b9492b
|
Renamed to data_management. Better description.
|
2022-08-11 23:02:44 -04:00 |
|
alwayscompiling
|
caef6a3652
|
Created command to clear table messages.
|
2022-08-11 23:00:11 -04:00 |
|
alwayscompiling
|
b2acafd6e7
|
Changed design to be one class per file.
|
2022-08-11 22:44:22 -04:00 |
|
alwayscompiling
|
349fdfe18d
|
Renamed python files to more describe their contents. Intend on having more than 1 class per file.
|
2022-08-11 22:17:52 -04:00 |
|
alwayscompiling
|
efed6e001f
|
Moved all commands into single commands cog.
|
2022-08-11 21:55:06 -04:00 |
|
alwayscompiling
|
6b0e61cdf7
|
Update nextcord.
|
2022-08-08 22:12:41 -04:00 |
|
alwayscompiling
|
0acfa77492
|
Change delete_scores to a slash command.
|
2022-08-08 22:07:12 -04:00 |
|
alwayscompiling
|
ffefd08761
|
Updated presense to account for slash commands.
|
2022-08-08 21:54:27 -04:00 |
|
alwayscompiling
|
a61662429a
|
Remove help command. Doesn't work with slash commands.
|
2022-08-08 21:51:25 -04:00 |
|
alwayscompiling
|
57244bcbfe
|
Update post highscores command to slash command.
|
2022-08-08 21:51:06 -04:00 |
|
alwayscompiling
|
3fd9ff46a3
|
imports cleanup.
|
2022-08-08 21:36:45 -04:00 |
|
alwayscompiling
|
d4ad727f2a
|
Correcting error statement.
|
2022-08-06 22:58:43 -04:00 |
|
alwayscompiling
|
516ff7feeb
|
Update minimum python version. Nextcord v2.0 requires python 3.8.
|
2022-08-06 22:26:55 -04:00 |
|
alwayscompiling
|
0eb332aefd
|
Added verify and submission register subcommands. Removed bot argument from Register class.
|
2022-08-06 22:21:08 -04:00 |
|
alwayscompiling
|
ff07787a9a
|
Create register group and highscore slash subcommand.
|
2022-08-06 20:14:30 -04:00 |
|
alwayscompiling
|
b5959ccc33
|
Change constructor of score. Create new function to add score value from a string.
|
2022-08-06 17:32:17 -04:00 |
|
alwayscompiling
|
b80f160914
|
Update verification view to use Table instead of Boss.
|
2022-08-06 16:55:06 -04:00 |
|
alwayscompiling
|
3b866be3ab
|
Corrected typo in submission_state setter.
|
2022-08-06 16:45:05 -04:00 |
|
alwayscompiling
|
e55b22c821
|
Easier to read submission access.
|
2022-08-06 16:41:50 -04:00 |
|
alwayscompiling
|
f06e6f1e1e
|
Create function to know if a user has a submission.
|
2022-08-06 16:30:49 -04:00 |
|
alwayscompiling
|
5f3e7361b4
|
Convert old submission_objects to new class.
|
2022-08-06 16:30:31 -04:00 |
|
alwayscompiling
|
835611a11e
|
Created submission classes.
|
2022-08-06 16:10:19 -04:00 |
|
alwayscompiling
|
ee9a23ca79
|
Renamed data folder to classes.
|
2022-08-06 14:59:58 -04:00 |
|
alwayscompiling
|
448bed17ec
|
Have to pass guild object to save function.
|
2022-08-04 11:34:51 -04:00 |
|
alwayscompiling
|
b4d0f8a15e
|
Save data after posting messages.
|
2022-08-04 11:22:50 -04:00 |
|
alwayscompiling
|
72a97f6cb7
|
Correct config creation.
|
2022-08-04 11:15:27 -04:00 |
|
alwayscompiling
|
8aadf07968
|
Added asending and time record setters.
|
2022-08-04 11:06:36 -04:00 |
|
alwayscompiling
|
a6f98d11ab
|
Added temporary config handling.
|
2022-08-04 11:06:18 -04:00 |
|
alwayscompiling
|
4ee0593619
|
Edit category constructor to allow for empty objects.
|
2022-08-04 10:38:45 -04:00 |
|
alwayscompiling
|
d4db9b51f0
|
Moved table size to table class. Edited table constructor.
|
2022-08-04 10:33:34 -04:00 |
|
alwayscompiling
|
f67eb75c7b
|
Add warning for posting without tables.
|
2022-08-04 10:29:14 -04:00 |
|
alwayscompiling
|
6f4322bf6a
|
Added a to_str function for all classes. __str__ function uses it. highscores_data uses the to_str function for saving.
|
2022-08-03 22:35:27 -04:00 |
|
alwayscompiling
|
66ace947c6
|
Saving guild after modification.
|
2022-08-03 22:21:49 -04:00 |
|
alwayscompiling
|
4d9c70bf09
|
Update saving functions.
|
2022-08-03 22:16:43 -04:00 |
|
alwayscompiling
|
4c944c8323
|
pylint line length.
|
2022-08-03 20:08:32 -04:00 |
|
alwayscompiling
|
b65254c2cc
|
Runtime error fixes.
|
2022-08-03 20:03:48 -04:00 |
|
alwayscompiling
|
5b3c9ef247
|
Somehow didn't finish guilds function.
|
2022-08-03 19:32:37 -04:00 |
|
alwayscompiling
|
027da38574
|
Update utils function args to use new data classes instead of various args.
|
2022-08-03 19:28:47 -04:00 |
|
alwayscompiling
|
80e4602621
|
Update submissin cog to new data class. Also clean up import lists.
|
2022-08-02 21:52:12 -04:00 |
|
alwayscompiling
|
07310c804a
|
Remove score command. It isn't used.
|
2022-08-02 21:41:13 -04:00 |
|
alwayscompiling
|
4641ce4048
|
Update register command to use data class.
|
2022-08-02 21:40:27 -04:00 |
|
alwayscompiling
|
142842a36b
|
Update post highscores to new data class.
|
2022-08-02 21:36:17 -04:00 |
|
alwayscompiling
|
6371fc4e8c
|
Update message listener to new data classes.
|
2022-08-02 21:29:57 -04:00 |
|
alwayscompiling
|
3fac5f7a06
|
Update guild listener command to new data classes.
|
2022-08-02 21:23:16 -04:00 |
|
alwayscompiling
|
80f3966d39
|
Update delete scores command.
|
2022-08-02 21:21:36 -04:00 |
|
alwayscompiling
|
69a439d13a
|
Correct message map creation.
|
2022-08-02 16:43:15 -04:00 |
|
alwayscompiling
|
251ac2cf47
|
Update highscores.py to use new data classes.
|
2022-08-02 16:41:46 -04:00 |
|
alwayscompiling
|
2dc0350213
|
Idk how the merge messed up, but fixed the bad merge.
|
2022-08-02 16:36:50 -04:00 |
|
alwayscompiling
|
7e40937cdd
|
Merge branch '25-data-class' of github.com:alwayscompiling/pvm-highscores into 25-data-class
|
2022-08-02 16:33:35 -04:00 |
|
alwayscompiling
|
761a7df29f
|
Constructor and string function fixes. Ignored new data dir.
|
2022-08-02 16:30:30 -04:00 |
|
alwayscompiling
|
b3a84fc3a8
|
Add str function for highscores data.
|
2022-08-02 16:20:56 -04:00 |
|
alwayscompiling
|
262bcd07b9
|
Update highscores_data to be an overarching class for all data.
|
2022-08-02 16:16:45 -04:00 |
|
alwayscompiling
|
8ca77d93b3
|
Update highscores_data to be an overarching class for all data.
|
2022-08-02 16:13:08 -04:00 |
|
alwayscompiling
|
1b4f0362b5
|
Renamed runescape example config.
|
2022-08-01 22:50:01 -04:00 |
|
alwayscompiling
|
ce60288892
|
Add highscore size to guild class.
|
2022-08-01 22:48:23 -04:00 |
|