|  | Commit message (Collapse) | Author | Age | Lines | 
|---|
| ... |  | 
| | | | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | - Corrected datetime patching | 
| | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | - Updated docstring to be more explicit on parameter fields | 
| | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | - Changed `duration` parameter names to `duration_or_expiry` to more accurately reflect options for help | 
| | | | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | | | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | | | - Refactored tests for new time duration arguments | 
| | | | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | | | |  | 
| | | |/ / / / / / / / / / / |  | 
| | | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | | |  | 
| | |_|/ / / / / / / / / /  
|/| | | | | | | | | | |   
| | | | | | | | | | | |   
| | | | | | | | | | | | | This avoids warnings if they are never awaited, e.g. when functions are mocked in tests | 
| | | | | | | | | | | | | 
| | | | | | | | | | | | 
| | | | | | | | | | | | | Co-authored-by: ChrisJL <[email protected]> | 
| | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | |  | 
| | |_|_|_|_|_|_|_|_|_|/  
|/| | | | | | | | | |   
| | | | | | | | | | |   
| | | | | | | | | | |   
| | | | | | | | | | |   
| | | | | | | | | | |   
| | | | | | | | | | |   
| | | | | | | | | | |   
| | | | | | | | | | | | Now supports:
 - limiting number of active reviews
 - limiting minimum time between reviews
 Order of review is based on number of nomination entries,
 and age of nomination. | 
| |\ \ \ \ \ \ \ \ \ \ \  
| |_|/ / / / / / / / /  
|/| | | | | | | | | | | Updated `purge` to require at least one user | 
| | | | | | | | | | | | |  | 
| | | | | | | | | | | | |  | 
| |/ / / / / / / / / / |  | 
| |\ \ \ \ \ \ \ \ \ \  
| | | | | | | | | | | 
| | | | | | | | | | | | feat(tags): add print-return tag | 
| | |\ \ \ \ \ \ \ \ \ \  
| |/ / / / / / / / / /  
|/| | | | | | | | | | |  | 
| |\ \ \ \ \ \ \ \ \ \ \  
| | | | | | | | | | | | 
| | | | | | | | | | | | | Update `!modpings off` confirmation to use a discord timestamp. | 
| | |\ \ \ \ \ \ \ \ \ \ \  
| |/ / / / / / / / / / /  
|/| | | | | | | | | | | |  | 
| | | | | | | | | | | | | |  | 
| | | |\ \ \ \ \ \ \ \ \ \  
| |_|/ / / / / / / / / /  
|/| | | | | | | | | | | |  | 
| |\ \ \ \ \ \ \ \ \ \ \ \  
| | | | | | | | | | | | | 
| | | | | | | | | | | | | | Use the view clear on timeout feature from bot-core in snekbox | 
| | | | | | | | | | | | | | 
| | | | | | | | | | | | | 
| | | | | | | | | | | | | 
| | | | | | | | | | | | | | Since snekbox uses 3.11 by default, it makes sense for this one to be started by default, and the 3.10 container to be opt-in. | 
| | | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | | |  | 
| |/ / / / / / / / / / / /  
| | | | | | | | | | | |   
| | | | | | | | | | | |   
| | | | | | | | | | | | | This will mean the buttons will be cleared from the response on interaction timeout. | 
| | | | | | | | | | | | | 
| | | | | | | | | | | | 
| | | | | | | | | | | | 
| | | | | | | | | | | | 
| | | | | | | | | | | | | As mentioned in the previous commit, using the raw GitHub URL would be
more reliable than a Discord CDN URL. | 
| | | | | | | | | | | | | 
| | | | | | | | | | | | 
| | | | | | | | | | | | 
| | | | | | | | | | | | 
| | | | | | | | | | | | 
| | | | | | | | | | | | 
| | | | | | | | | | | | | As discussed in
https://discord.com/channels/267624335836053506/635950537262759947/998235482494353508,
using the raw GitHub URL for the GIF would be more reliable than the
Discord CDN URL. | 
| | | | | | | | | | | | | |  | 
| | |/ / / / / / / / / /  
|/| | | | | | | | | |   
| | | | | | | | | | |   
| | | | | | | | | | |   
| | | | | | | | | | |   
| | | | | | | | | | | | Since we already create the tag embed from the `embed` object in the metadata, we already have the
support to add images in embeds, albeit a bit more verbose than if we had added a `media` property
in the metadata containing only the URL. | 
| |\ \ \ \ \ \ \ \ \ \ \ |  | 
| | | | | | | | | | | | | 
| | | | | | | | | | | | 
| | | | | | | | | | | | 
| | | | | | | | | | | | 
| | | | | | | | | | | | 
| | | | | | | | | | | | | This is so that we do not need to spawn the run_job call in a seperate task.
This also wraps interaction.message.delete() in a NotFound suppress to cover the case where a user re-runs code and very quickly clicks the button. The log arg on send_job will stop the actual job from running in this case. | 
| | | | | | | | | | | | | 
| | | | | | | | | | | | 
| | | | | | | | | | | | 
| | | | | | | | | | | | | The cog_command_error isn't hit when the run_job function is called from the button interaction, this means if the lock error is raiseed, it doees not get handled. | 
| | | | | | | | | | | | | 
| | | | | | | | | | | | 
| | | | | | | | | | | | 
| | | | | | | | | | | | | Rather than passing around superfluous variables. | 
| | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | 
| | | | | | | | | | | | 
| | | | | | | | | | | | 
| | | | | | | | | | | | 
| | | | | | | | | | | | 
| | | | | | | | | | | | | To do this we need to track, for each user, the active eval's code, python version and response message. This is because a button press can now also trigger a job to continue. If we did not track these, then editing your own code and then re-evaluating it would trigger the wait_fors in continue_job for each time you pressed the button to change languages.
Co-authored-by: Mark <[email protected]> | 
| |/ / / / / / / / / / / |  |