alwayscompiling
|
a66bc4982f
|
on_guild_join needs 2 parameters.
|
2022-07-29 22:45:21 -04:00 |
|
alwayscompiling
|
04051eeacc
|
Merge branch '14-score-entries-as-dictsjson-objects' into develop
|
2022-07-29 16:49:50 -04:00 |
|
alwayscompiling
|
f33dc8ce37
|
Skeleton needs to have dict for category scores.
|
2022-07-29 16:48:25 -04:00 |
|
alwayscompiling
|
306f983c8e
|
Had to change access to scores. Somewhat weird due to them being dicts and dicts being difficult to access by index.
|
2022-07-29 16:35:45 -04:00 |
|
alwayscompiling
|
9e9d616814
|
Change tuple to list. Its stored as a list anyways.
|
2022-07-29 16:16:16 -04:00 |
|
alwayscompiling
|
5a09beea31
|
Convert add_score to have scores as a dict.
|
2022-07-29 15:56:37 -04:00 |
|
alwayscompiling
|
8c2b3fa487
|
Server count on all presense strings.
|
2022-07-29 15:10:41 -04:00 |
|
alwayscompiling
|
62e89960f7
|
Changed presence update functionability to a cog. Randomly chooses a string and updates the presence every 2 minutes.
|
2022-07-29 15:08:42 -04:00 |
|
alwayscompiling
|
e2b0c0ea89
|
Enforcing python version because ordered dicts in 3.7 is required.
|
2022-07-29 14:27:10 -04:00 |
|
alwayscompiling
|
3eed30567d
|
Fixed single digit second submissions. Covered bases to ensure time format is consistant.
|
2022-07-29 14:12:58 -04:00 |
|
alwayscompiling
|
565babd1d3
|
Correct submission listener usage of HighscoresData.
|
2022-07-28 11:14:38 -04:00 |
|
alwayscompiling
|
455b51a998
|
Remove outdated import.
|
2022-07-28 11:02:47 -04:00 |
|
alwayscompiling
|
f136181216
|
Message map has guild id as an int. Update submission view to use HighscoresData.
|
2022-07-28 11:01:40 -04:00 |
|
alwayscompiling
|
463ef48052
|
Move message map creation to highscores.py. Was a circular import.
|
2022-07-28 10:41:10 -04:00 |
|
alwayscompiling
|
64004329da
|
Add HighscoresData to register command. Add channel setting functions.
|
2022-07-28 10:25:56 -04:00 |
|
alwayscompiling
|
f497928054
|
Get table names from data. Update post scores to use HighscoresData class.
|
2022-07-28 10:17:46 -04:00 |
|
alwayscompiling
|
0911ebfa45
|
Updated guild listener to HighscoresData class.
|
2022-07-27 22:32:28 -04:00 |
|
alwayscompiling
|
beedf946c9
|
Update delete scores to new HighscoresData class.
|
2022-07-27 22:27:27 -04:00 |
|
alwayscompiling
|
5b31314f02
|
Fill out HighscoreData class with access functions for utils.py.
|
2022-07-27 22:15:06 -04:00 |
|
alwayscompiling
|
4b15fef30c
|
Set highscore_data type.
|
2022-07-27 21:59:57 -04:00 |
|
alwayscompiling
|
e11a86af7b
|
Update highscores.py to use HighscoreData class.
|
2022-07-27 20:48:04 -04:00 |
|
alwayscompiling
|
f4f8f426d0
|
Move create_message_map to here.
|
2022-07-27 20:44:35 -04:00 |
|
alwayscompiling
|
b8eb84165e
|
Create new class for storing data.
|
2022-07-27 20:44:07 -04:00 |
|
alwayscompiling
|
273ff757af
|
Correct delete scores description.
|
2022-07-26 22:44:32 -04:00 |
|
alwayscompiling
|
f84e2eef29
|
Preventing user from having multiple submissions.
|
2022-07-26 22:17:24 -04:00 |
|
alwayscompiling
|
b4eb5ab6d1
|
Removed deleting of scores pushed off table.
|
2022-07-26 22:12:12 -04:00 |
|
alwayscompiling
|
1ae6a4a223
|
Ensure formatting lines up times and right justifies int scores.
|
2022-07-26 22:09:35 -04:00 |
|
alwayscompiling
|
e1a429c42a
|
Trim leading 0s from time scores.
|
2022-07-26 21:48:31 -04:00 |
|
alwayscompiling
|
790e8ca50f
|
Create delete-score command.
|
2022-07-26 21:35:56 -04:00 |
|
alwayscompiling
|
7ba43ea4f4
|
Creating message map entry if guild id isn't there already.
|
2022-07-26 21:22:12 -04:00 |
|
alwayscompiling
|
39c858af64
|
Correct regex to ensure start and end of string.
|
2022-07-23 15:23:16 -04:00 |
|
alwayscompiling
|
093861b2e6
|
Improve readability with guild id variable.
|
2022-07-23 14:26:07 -04:00 |
|
alwayscompiling
|
4ef487a8c4
|
Saving deleted data from left servers.
|
2022-07-23 14:12:32 -04:00 |
|
alwayscompiling
|
849ebb966a
|
Guild id is a string in message map.
|
2022-07-23 14:02:47 -04:00 |
|
alwayscompiling
|
f1b0e34194
|
message_map doesn't need guild id as a string.
|
2022-07-23 00:06:56 -04:00 |
|
alwayscompiling
|
7cdc7d2cef
|
Need empty dict before adding to it.
|
2022-07-23 00:00:18 -04:00 |
|
alwayscompiling
|
db4672dcda
|
Correct spacing.
|
2022-07-22 23:59:46 -04:00 |
|
alwayscompiling
|
fc2b601687
|
Somehow removed await on fetch message.
|
2022-07-22 23:44:33 -04:00 |
|
alwayscompiling
|
493d44fa19
|
Pass guild_data when needed.
|
2022-07-22 23:41:00 -04:00 |
|
alwayscompiling
|
5d3a1568a2
|
Guild id is a string in highscores data json.
|
2022-07-22 23:39:51 -04:00 |
|
alwayscompiling
|
be29194a57
|
Get guild data everywhere highscores_data was used.
|
2022-07-22 23:33:11 -04:00 |
|
alwayscompiling
|
d067da2300
|
Changed config table name.
|
2022-07-22 23:02:24 -04:00 |
|
alwayscompiling
|
6d0c10e1cc
|
Create empty dict for each guild during message_map creation.
|
2022-07-22 22:41:35 -04:00 |
|
alwayscompiling
|
609bfa1277
|
Update message map and send highscore message for multiple guilds.
|
2022-07-22 22:36:47 -04:00 |
|
alwayscompiling
|
158e53e799
|
Add on_guild_remove listener.
|
2022-07-22 22:09:09 -04:00 |
|
alwayscompiling
|
3cc67a4e9e
|
Corrected skeleton provider. Add cog for guild listener.
|
2022-07-22 22:05:21 -04:00 |
|
alwayscompiling
|
df80eb2952
|
Move data skeleton creation out of opening highscores data.
|
2022-07-22 21:52:13 -04:00 |
|
alwayscompiling
|
b78eb7b9bf
|
Changed order of functions.
|
2022-07-22 21:41:45 -04:00 |
|
alwayscompiling
|
65ce143cfc
|
Merge branch '18-remove-boss-message-map' into develop
|
2022-07-22 21:37:29 -04:00 |
|
alwayscompiling
|
8dbb2a6895
|
Missed adding tables one place.
|
2022-07-22 21:34:23 -04:00 |
|
alwayscompiling
|
a24fe52182
|
Message id is no longer a string in the message map.
|
2022-07-22 21:32:18 -04:00 |
|
alwayscompiling
|
d0131b1044
|
Updated all table data accesses to have table as part of access.
|
2022-07-22 21:30:46 -04:00 |
|
alwayscompiling
|
307ef86493
|
Removed old usage of message map from file.
|
2022-07-22 21:22:17 -04:00 |
|
alwayscompiling
|
a1a9fae9fa
|
Generating message map on bot start.
|
2022-07-22 21:18:01 -04:00 |
|
alwayscompiling
|
56984b3df0
|
Remove unnecessary intent activation.
|
2022-07-22 20:59:25 -04:00 |
|
alwayscompiling
|
7a261d56fc
|
Move formatting to when score is retrieved.
|
2022-07-21 10:31:07 -04:00 |
|
alwayscompiling
|
4ee2280565
|
Correcting example runescape config.
|
2022-07-21 10:04:52 -04:00 |
|
alwayscompiling
|
a24900a957
|
Merge branch '15-format-messages-to-look-cleaner' into develop
|
2022-07-20 22:56:22 -04:00 |
|
alwayscompiling
|
ef17d3dc3e
|
Made all scores line up properly.
|
2022-07-20 22:55:40 -04:00 |
|
alwayscompiling
|
d711763c80
|
Standardize time score format.
|
2022-07-20 22:35:33 -04:00 |
|
alwayscompiling
|
8318bf741a
|
Remove old TODO.
|
2022-07-20 22:32:59 -04:00 |
|
alwayscompiling
|
17c1915810
|
Change location of approve button. Should be on right.
|
2022-07-20 22:31:39 -04:00 |
|
alwayscompiling
|
674ea94588
|
Pad username out to max length.
|
2022-07-20 22:24:50 -04:00 |
|
alwayscompiling
|
090184c1e9
|
Tracking username length limit in data file.
|
2022-07-20 22:17:20 -04:00 |
|
alwayscompiling
|
31fa0b50a3
|
Added regex for time and int submissions.
|
2022-07-20 22:06:07 -04:00 |
|
alwayscompiling
|
374632bbc6
|
Removing TODOs.
|
2022-07-20 20:58:17 -04:00 |
|
alwayscompiling
|
8a36c9dac9
|
Users cannot move to next step without completing current step.
|
2022-07-20 20:50:29 -04:00 |
|
alwayscompiling
|
1900e21f72
|
Updating message listener to work with states.
|
2022-07-20 20:37:29 -04:00 |
|
alwayscompiling
|
2c85483db5
|
Buttons now change views, embed has proper steps. Added todos for what is next.
|
2022-07-19 22:29:06 -04:00 |
|
alwayscompiling
|
63db9fb7d4
|
Create buttons and enum for submission state navigation.
|
2022-07-19 21:05:37 -04:00 |
|
alwayscompiling
|
5155744ec5
|
Made config file more efficient.
|
2022-07-13 22:02:40 -04:00 |
|
alwayscompiling
|
fedc8be778
|
Adding VerificationView to bot on cog load.
|
2022-07-13 20:01:21 -04:00 |
|
alwayscompiling
|
125939e5b3
|
Updating runescape_bosses.json example config to follow new config style.
|
2022-07-12 21:26:12 -04:00 |
|
alwayscompiling
|
3b410b5f90
|
Redid configs to allow for unique categories on each table.
|
2022-07-12 21:00:51 -04:00 |
|
alwayscompiling
|
d7bac2048f
|
Changed listener to allow for score or attachment by themselves.
|
2022-07-12 19:59:21 -04:00 |
|
alwayscompiling
|
dd4bee73c6
|
Approved message now mentions person who approved.
|
2022-07-12 18:30:25 -04:00 |
|
alwayscompiling
|
d21683fb59
|
Only add best score if its new, only delete worse scores if they exist.
|
2022-07-12 16:07:20 -04:00 |
|
alwayscompiling
|
44b3d7a80b
|
Merge branch 'develop' into 4-user-score-update
|
2022-07-12 15:59:42 -04:00 |
|
alwayscompiling
|
af5017c95d
|
Changed id of verification views. Solved problem for long lasting buttons.
|
2022-07-12 15:59:17 -04:00 |
|
alwayscompiling
|
3087c6bc39
|
Worked out dup check method, just need to debug.
|
2022-07-12 15:58:39 -04:00 |
|
alwayscompiling
|
cf0ef96edc
|
Merge branch 'develop' into 4-user-score-update
|
2022-07-12 15:22:07 -04:00 |
|
alwayscompiling
|
9ba37c22bb
|
Splitting username on pipe.
|
2022-07-12 15:18:59 -04:00 |
|
alwayscompiling
|
8eeda14119
|
Strip leading 0 and : from scores.
|
2022-07-12 15:15:37 -04:00 |
|
alwayscompiling
|
115e3dd3d0
|
Shortening the pad size for messages a little.
|
2022-07-10 21:59:11 -04:00 |
|
alwayscompiling
|
9ef2acf34c
|
Capping user names to 12 characters because runescape names. Will need to revisit user name limit later.
|
2022-07-10 21:51:19 -04:00 |
|
alwayscompiling
|
82f47ac136
|
Temporary attempt. Makes assumption that a user will submit a better score.
|
2022-07-10 21:47:01 -04:00 |
|
alwayscompiling
|
4a15c63e8c
|
Corrected some comments.
|
2022-07-10 21:11:51 -04:00 |
|
alwayscompiling
|
4c6279b444
|
Made post command admin only.
|
2022-07-10 21:08:30 -04:00 |
|
alwayscompiling
|
39f4a108ca
|
Fixing hardmode category searching.
|
2022-07-10 20:33:39 -04:00 |
|
alwayscompiling
|
83f0bf6498
|
Slight time score bug fixes.
|
2022-07-10 20:27:56 -04:00 |
|
alwayscompiling
|
3f5ebdf175
|
Changed listener check to be more efficient.
|
2022-07-10 20:16:52 -04:00 |
|
alwayscompiling
|
f98c80d200
|
Updated comments in message listener.
|
2022-07-10 20:09:27 -04:00 |
|
alwayscompiling
|
b61008518c
|
Moved message listener to a cog. Listener is set up on bot run. Listener listens to all messages. Pulls score and image from a message sent in submission channel if a user has an active submission.
|
2022-07-10 20:05:20 -04:00 |
|
alwayscompiling
|
198d9008b9
|
Fixed missing parameter.
|
2022-07-09 19:46:50 -04:00 |
|
alwayscompiling
|
ae1d820297
|
Refactored register command to be one command that takes in parameter.
|
2022-07-09 14:21:45 -04:00 |
|
alwayscompiling
|
a602347d09
|
Removing TODOs.
|
2022-07-09 13:57:48 -04:00 |
|
alwayscompiling
|
03ed723f5c
|
Add input verification in verification_view.py.
|
2022-07-09 13:53:23 -04:00 |
|
alwayscompiling
|
18db48a55e
|
Sending to verification view.
|
2022-07-09 11:43:49 -04:00 |
|
alwayscompiling
|
7854be890f
|
Entire submission process works somehow.
|
2022-07-09 11:24:29 -04:00 |
|
alwayscompiling
|
6a7207d710
|
Slight organization changes. Decided to use new message for score input.
|
2022-07-07 22:57:38 -04:00 |
|