|  | Commit message (Collapse) | Author | Age | Lines | 
|---|
| ... |  | 
| |/ / / / / / / / / / / |  | 
| | | | | | | | | | | | 
| | | | | | | | | | | 
| | | | | | | | | | | 
| | | | | | | | | | | | When specifying all channels, the command now skips private channels to optimize for speed. | 
| | | | | | | | | | | | 
| | | | | | | | | | | 
| | | | | | | | | | | 
| | | | | | | | | | | | Previously the cache was only used to delete from all channels. I didn't add a channels check when I changed it. | 
| | | | | | | | | | | | |  | 
| | | | | | | | | | | | |  | 
| | | | | | | | | | | | 
| | | | | | | | | | | 
| | | | | | | | | | | 
| | | | | | | | | | | 
| | | | | | | | | | | 
| | | | | | | | | | | 
| | | | | | | | | | | 
| | | | | | | | | | | | Removes the cache usage argument from the clean commands.
Cache usage is now an implementation detail.
The cache will be used if the age of the oldest message requested for cleaning is younger than the oldest message in the cache.
Additionally fixes the logger to the one used in the rest of the bot (caused by a faulty merge). | 
| | | |_|_|_|_|_|_|/ /  
| |/| | | | | | | |   
| | | | | | | | | |   
| | | | | | | | | |   
| | | | | | | | | |   
| | | | | | | | | | | All clean commands now use the clean limit (message, time delta, ISO datetime) instead of `traverse`.
Consequently, `clean all` has been removed as `clean until` now effectively fulfills that role. | 
| | | | | | | | | | | |  | 
| | | | | | | | | | | |  | 
| | | | | | | | | | | |  | 
| | | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | | Co-authored-by: ChrisJL <[email protected]> | 
| | | | | | | | | | | |  | 
| | | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | 
| | | | | | | | | | | Added links to mypy and PEP484 (the type hint pep).
Removed the temp variable for clarity, maybe it's fine if we don't show that you can typehint normal variables? | 
| | | | | | | |_|/ /  
| | | | | |/| | | |  | 
| | | | | | | | | | |  | 
| | | | | | | | | | |  | 
| | | | | | | | | | 
| | | | | | | | | 
| | | | | | | | | 
| | | | | | | | | | presumed that when target was an integer, it would be the user ID and not the nomination ID. retrieves user from nomination and fetches the user | 
| | | | | | | | | | |  | 
| | |_|_|_|_|_|_|/  
|/| | | | | | | |  | 
| |\ \ \ \ \ \ \ \  
| | | | | | | | | 
| | | | | | | | | | Remove deprecated server voice region | 
| |/ / / / / / / /  
| | | | | | | |   
| | | | | | | | | Discord's current model for voice regions is setting it per server. Hence, the "Voice region" section in the server info tag will always display as "deprecated". This pull request removes it. | 
| |\ \ \ \ \ \ \ \  
| | | | | | | | | 
| | | | | | | | | | Reduce threshold before fuzzy matching to 2 | 
| |/ / / / / / / /  
| | | | | | | |   
| | | | | | | |   
| | | | | | | |   
| | | | | | | |   
| | | | | | | | | Commands such as !ot, !if, !xy are commonly used as shortcuts to their respective tags. We recently upped the threshold before fuzzy matching to 3 characters, which broke these shortcuts.
This commit reduces that threshold down to 2, so users who are used to those commands can still use them. | 
| |\ \ \ \ \ \ \ \  
| | | | | | | | | 
| | | | | | | | | | Move static content site commands to tags | 
| | | | | | | | | | 
| | | | | | | | | 
| | | | | | | | | 
| | | | | | | | | 
| | | | | | | | | | Discord does validation on the embed url which may fail for valid
local urls | 
| | | | | | | | | | |  | 
| | | | | | | | | | |  | 
| |/ / / / / / / / |  | 
| |\ \ \ \ \ \ \ \  
| | | | | | | | | 
| | | | | | | | | | Add tag groups and in file metadata | 
| | |\ \ \ \ \ \ \ \  
| |/ / / / / / / /  
|/| | | | | | | | |  | 
| |\ \ \ \ \ \ \ \ \  
| | | | | | | | | | 
| | | | | | | | | | | Modpings schedule | 
| | |\ \ \ \ \ \ \ \ \  
| |/ / / / / / / / /  
|/| | | | | | | | | |  | 
| |\ \ \ \ \ \ \ \ \ \  
| | | | | | | | | | | 
| | | | | | | | | | | | fix: parse whitespace out of pep titles | 
| | |\ \ \ \ \ \ \ \ \ \  
| |/ / / / / / / / / /  
|/| | | | | | | | | | |  | 
| |\ \ \ \ \ \ \ \ \ \ \  
| | | | | | | | | | | | 
| | | | | | | | | | | | | Make snekbox url an env var | 
| |/ / / / / / / / / / /  
| | | | | | | | | | |   
| | | | | | | | | | |   
| | | | | | | | | | |   
| | | | | | | | | | |   
| | | | | | | | | | | | An issue with snekbox in our cluster has meant that we want to send requests to an external service temporarily while we get this fixed.
Making this an env var means we can change this whenever needed in future without leaking the external service's url. | 
| |\ \ \ \ \ \ \ \ \ \ \  
| | | | | | | | | | | | 
| | | | | | | | | | | | | Update username checks | 
| | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | |  | 
| | | | | | | | | | | | | 
| | | | | | | | | | | | 
| | | | | | | | | | | | 
| | | | | | | | | | | | | Ss soon as we get a match for a bad name, return it, rather than running it against the rest of the filters. | 
| | | | | | | | | | | | | 
| | | | | | | | | | | | 
| | | | | | | | | | | | 
| | | | | | | | | | | | | tokens again | 
| |/ / / / / / / / / / / |  | 
| |/ / / / / / / / / / |  | 
| |\ \ \ \ \ \ \ \ \ \  
| | | | | | | | | | | 
| | | | | | | | | | | | Patch d.py's message convertor to infer channelID from the given context | 
| | |\ \ \ \ \ \ \ \ \ \  
| |/ / / / / / / / / /  
|/| | | | | | | | | | |  | 
| |\ \ \ \ \ \ \ \ \ \ \  
| | | | | | | | | | | | 
| | | | | | | | | | | | | Attempt to fetch un-cached nomination threads on archive | 
| |/ / / / / / / / / / /  
| | | | | | | | | | |   
| | | | | | | | | | |   
| | | | | | | | | | |   
| | | | | | | | | | |   
| | | | | | | | | | |   
| | | | | | | | | | |   
| | | | | | | | | | |   
| | | | | | | | | | | | Fixes BOT-1R0
Fixes #1992
The time between a vote passing and the helper being helpered can sometimes be >7 days, meaning the thread may have auto-archived by then.
We should deal with this by trying to fetch the threead from the API if it's not cached. | 
| |\ \ \ \ \ \ \ \ \ \ \  
| | | | | | | | | | | | 
| | | | | | | | | | | | | Update PEP Repo URL | 
| | |\ \ \ \ \ \ \ \ \ \ \  
| |/ / / / / / / / / / /  
|/| | | | | | | | | | | |  | 
| |\ \ \ \ \ \ \ \ \ \ \ \  
| | | | | | | | | | | | | 
| | | | | | | | | | | | | | remove default thread archive time |