| 
								
								
									 Jack | 7801089d91 | moved the check to the bot | 2020-07-09 12:14:00 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 77401ebd2a | added a log | 2020-07-09 11:27:16 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 4b480767eb | made sure to round up the wpm that is sent to the role bot | 2020-07-09 01:34:17 +01:00 |  | 
				
					
						| 
								
								
									 Jack | f31aa80102 | fixed a bug that would cause the pb object to not be saved correctly | 2020-07-08 16:32:22 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 2d69b78ee2 | initialising firebase once, limiting leaderboards to time 15 and 60 | 2020-07-08 00:14:03 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 50c441bee5 | missing null/undefined checks | 2020-07-07 21:47:51 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 0ec199ce03 | missing = | 2020-07-07 21:46:39 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 3f3058e023 | fixed bot not giving roles | 2020-07-07 21:44:03 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 7137c18371 | removed logs | 2020-07-07 21:12:24 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 94ad2175df | fixed the fix >:| | 2020-07-07 20:42:26 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 4925224b0f | fix for a bug where the role would get overwritten | 2020-07-07 20:30:39 +01:00 |  | 
				
					
						| 
								
								
									 Jack | c2bde75103 | made sure not to send the command to the bot if the discordid is undefined | 2020-07-07 19:28:09 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 5e83f01e25 | sending a command to the bot if the user got a pb | 2020-07-07 16:39:10 +01:00 |  | 
				
					
						| 
								
								
									 Jack | f6fc41b8ed | added a function to generate a discord pairing code | 2020-07-07 13:50:24 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 44f7dc1808 | initialised firestore too early | 2020-07-07 13:28:01 +01:00 |  | 
				
					
						| 
								
								
									 Jack | ffa4123648 | making sure to initalise firestore once | 2020-07-07 13:26:52 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 6188191ac5 | updated log | 2020-07-06 22:53:03 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 086bbc4f77 | added a check if the user has correct name | 2020-07-06 22:51:03 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 29df39aa37 | fixed result not saving for other modes | 2020-07-06 22:28:04 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 1eff3973a0 | added verified and banned and anibot | 2020-07-06 19:40:52 +01:00 |  | 
				
					
						| 
								
								
									 Jack | bf957f9215 | changed timezone of cron task | 2020-07-06 01:09:17 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 340ed1e458 | making sure to use utc | 2020-07-05 17:56:16 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 0f286d67d4 | using utc for resettime | 2020-07-05 17:27:18 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 6433119764 | leaderboards now reset at midnight UTC | 2020-07-05 17:23:07 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 524b8aa96b | added a subtitle that says when the lb will reset | 2020-07-05 17:02:02 +01:00 |  | 
				
					
						| 
								
								
									 Jack | fb696f6c04 | lb reset now happens at 00:00 | 2020-07-05 16:38:08 +01:00 |  | 
				
					
						| 
								
								
									 Jack | ee98123772 | fixed a bug where leaderboards would override eachother when going to history | 2020-07-05 16:36:55 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 678d4932df | limiting leaderboards to english | 2020-07-05 16:29:57 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 1d5d30f6ad | fixed a bug where newbest variable would not be true when it had to | 2020-07-05 00:27:24 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 7f82d85e5d | fixed a bug where wrong pos would be shown | 2020-07-04 16:43:48 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 0ce1d34ddf | updated check leaderboard to include info if the new result is best | 2020-07-04 14:15:15 +01:00 |  | 
				
					
						| 
								
								
									 Jack | ec31fedec4 | added some errors, fixed issue with doc id | 2020-07-04 13:08:25 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 48bb520795 | made sure to return board info, and triple checking that the board is empty to not return uids | 2020-07-04 02:44:08 +01:00 |  | 
				
					
						| 
								
								
									 Jack | b25abb2f24 | added dynamic leaderboard creation | 2020-07-04 01:39:29 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 067744bbce | removed more logs | 2020-07-04 00:58:49 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 90377b7906 | updated log | 2020-07-04 00:53:29 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 0492d42ead | removed throw | 2020-07-04 00:51:32 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 43dc325153 | fixed console log | 2020-07-04 00:51:09 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 05442539f5 | added some error logs | 2020-07-04 00:32:45 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 650f0c29b1 | added a function to move daily leaderboards to history | 2020-07-04 00:11:26 +01:00 |  | 
				
					
						| 
								
								
									 Jack | bf0249381e | removed some logs | 2020-07-03 23:41:42 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 04f4eee886 | made sure only one result per person can be on the leaderboard, started daily leaderboards | 2020-07-03 23:24:36 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 0585a52b85 | optimised name replacing | 2020-07-03 22:09:29 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 28eab5000a | removed board logs | 2020-07-03 20:14:39 +01:00 |  | 
				
					
						| 
								
								
									 Jack | ee2a5436d5 | fixed rawwpm, removed logs | 2020-07-03 20:10:22 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 2b3eaf1696 | added raw to the leaderboards | 2020-07-03 19:29:48 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 14c64ebadd | Revert "added starting code for leaderboards", moved to a branch This reverts commit 25d215f359. | 2020-07-03 19:18:36 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 25d215f359 | added starting code for leaderboards | 2020-07-03 19:15:46 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 946392e077 | added more logs to the backend | 2020-07-03 17:10:09 +01:00 |  | 
				
					
						| 
								
								
									 Jack | 9b771f7de7 | using Prettier code formatting | 2020-07-03 01:35:45 +01:00 |  |