| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | Attepmt to fetch un-cached nomination threads on archive | 2021-12-03 | -2/+5 | |
| | | | | | | | | | | 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. | |||
| * | Merge pull request #1991 from python-discord/pep-main | 2021-12-03 | -1/+1 | |
| |\ | | | | | Update PEP Repo URL | |||
| | * | Merge branch 'main' into pep-main | 2021-12-03 | -7/+1 | |
| | |\ | |/ |/| | ||||
| * | | Merge pull request #1987 from onerandomusername/remove-unneeded-constant | 2021-12-03 | -7/+1 | |
| |\ \ | | | | | | | remove default thread archive time | |||
| | * \ | Merge branch 'main' into remove-unneeded-constant | 2021-12-03 | -12/+11 | |
| | |\ \ | |/ / |/| | | ||||
| | * | | remove default thread archive time as discord.py supports that already | 2021-12-02 | -7/+1 | |
| | | | | ||||
| | | * | Update PEP Repo URL | 2021-12-03 | -1/+1 | |
| | |/ |/| | | | | | The PEP github repo changed branch from master, to main, breaking our code. Switch the ref from master to main in our code. | |||
| * | | Merge pull request #1985 from python-discord/subscribe-redirect | 2021-12-03 | -11/+10 | |
| |\ \ | | | | | | | Redirect subscribe command output to bot commands | |||
| | * \ | Merge branch 'main' into subscribe-redirect | 2021-12-03 | -52/+142 | |
| | |\ \ | |/ / |/| | | ||||
| * | | | Merge pull request #1986 from onerandomusername/patch-3 | 2021-12-03 | -1/+1 | |
| |\ \ \ | |_|/ |/| | | set three_day to 4320, the number of minutes in 3 days | |||
| | * | | set three_day to 4320, the number of minutes in 3 days | 2021-12-02 | -1/+1 | |
| |/ / | ||||
| * | | Dynamic views for command help embeds (#1939) | 2021-12-01 | -51/+141 | |
| | | | | | | | | | | | | | | | | | | | Dynamic views for command help embeds Adds views for commands to navigate groups. For subcommands, a button is added to show the parent's help embed. For groups, buttons are added for each subcommand to show their help embeds. The views are not generated when help is invoked in the context of an error. | |||
| | * | Redirect subscribe command output to bot commands | 2021-12-01 | -10/+7 | |
| | | | | | | | | | | | | | Instead of silently failing in channels other than bot commands for non-staff, the bot now instead redirects the command output to bot commands and pings the user. To facilitate this, I had to change the ctx.reply to a ctx.send since the invocation message may be in a different channel. | |||
| | * | Sort subscribe roles alphabetically | 2021-12-01 | -1/+3 | |
| |/ | ||||
| * | Merge pull request #1868 from python-discord/subscribe-with-buttons | 2021-12-01 | -88/+248 | |
| |\ | | | | | Subscribe with buttons | |||
| | * | Merge branch 'main' into subscribe-with-buttons | 2021-12-01 | -26/+53 | |
| | |\ | |/ |/| | ||||
| * | | Merge pull request #1928 from python-discord/kill-sir-threadevere | 2021-12-01 | -26/+53 | |
| |\ \ | | | | | | | Manage nomination threads in bot | |||
| | * | | Remove redundant Union in a type hint | 2021-12-01 | -1/+1 | |
| | | | | ||||
| | * | | Use presence of a nominee as check for pending reviews | 2021-12-01 | -1/+1 | |
| | | | | ||||
| | * | | Always return a review string for a given nomination | 2021-12-01 | -8/+5 | |
| | | | | ||||
| | * | | Fix emoji reaction error in reviewer | 2021-12-01 | -2/+2 | |
| | | | | | | | | | | | | | Using a :eyes: style emoji string in a ctx.add_reaciton call will error. Discord expects either a unicode emoji, or a custom emoji. | |||
| | * | | Ensure a nomination archival emoji isn't from the bot | 2021-12-01 | -0/+3 | |
| | | | | | | | | | | | | | This is most relevant in local dev testing where the Emojis.check_mark could be the same as the Emojis.incident_actioned or Emojis.incident_unactioned, which would cause the bot to attempt to archive the post_review invocation if it was posted in the nomination voting channel. | |||
| | * | | Supress NotFound when archiving a nomination | 2021-12-01 | -3/+6 | |
| | | | | | | | | | | | | | This supresses both the mesage deleteions and the thread archive, so that if they are removed before the code can get to them, it does not raise an error. | |||
| | * | | Update nomination message regex | 2021-12-01 | -2/+1 | |
| | | | | ||||
| | * | | Manage nomination threads | 2021-12-01 | -1/+14 | |
| | | | | | | | | | | | | | This change creates a thread while posting the nomination, and then archives it once the nomination is concluded. | |||
| | * | | Refactor make_review to return nominee too | 2021-12-01 | -9/+9 | |
| | | | | ||||
| | * | | Add thread archive time enum to constants | 2021-12-01 | -0/+12 | |
| |/ / | ||||
| | * | Subscribe command replies to invocation to keep context | 2021-11-30 | -1/+1 | |
| | | | ||||
| | * | Add lock emoji to highlight unavailable self-assignable roles | 2021-11-30 | -1/+1 | |
| | | | ||||
| | * | Swap remove and unavailable colours for subscribe command | 2021-11-30 | -2/+2 | |
| | | | ||||
| | * | Sort unavailable self-assignable roles to the end of the list | 2021-11-30 | -0/+3 | |
| | | | ||||
| | * | Allow roles to be assignable over multiple months | 2021-11-30 | -23/+72 | |
| | | | | | | | | | | | | | This includes a refactor to use a dataclass for clearer implementation. Along with that, this changes the roles so that they're always available, but un-assignable roles are in red and give a different error. | |||
| | * | Delete the subscribe message after 5 minutes | 2021-11-30 | -1/+6 | |
| | | | ||||
| | * | Use new get_logger helper util | 2021-11-30 | -3/+2 | |
| | | | ||||
| | * | Stop listening for events when message is deleted | 2021-11-30 | -0/+2 | |
| | | | ||||
| | * | Add 10s member cooldown to subscribe command | 2021-11-30 | -0/+1 | |
| | | | ||||
| | * | Ensure the user interacting is still in guild before changing roles | 2021-11-30 | -0/+4 | |
| | | | ||||
| | * | Add an interactive subscribe command | 2021-11-30 | -0/+139 | |
| | | | | | | | | | | | | | This command gives the users a set of buttons to click to add or remove pre-determined announcement roles. Adding or removing a role updates the button state to reflect the change and what would happen if the user clicks the button again. | |||
| | * | Add self assignable roles to config | 2021-11-30 | -0/+10 | |
| | | | ||||
| | * | Remove the subscribe command from the verification cog | 2021-11-30 | -67/+4 | |
| | | | ||||
| | * | Move handle_role_change to a util file | 2021-11-30 | -21/+32 | |
| |/ | ||||
| * | Merge pull request #1981 from python-discord/bsoyka/rules-shortening-space | 2021-11-29 | -3/+3 | |
| |\ | | | | | Small changes to invalid rule indices message shortening | |||
| | * | Merge branch 'main' into bsoyka/rules-shortening-space | 2021-11-29 | -1/+1 | |
| | |\ | |/ |/| | ||||
| * | | Use bright_green for "Currently Helping" DMs (#1979) | 2021-11-28 | -1/+1 | |
| | | | | | | | Co-authored-by: Xithrius <[email protected]> | |||
| | * | Refactor long line | 2021-11-27 | -3/+3 | |
| | | | | | | | | | Doing this similar to how the docs command works for shortening | |||
| | * | Add missing space in text shortening placeholder | 2021-11-27 | -1/+1 | |
| |/ | ||||
| * | Merge pull request #1980 from python-discord/bsoyka/rules-bug | 2021-11-27 | -1/+4 | |
| |\ | | | | | Limit the length of the invalid rule indices message | |||
| | * | Change placeholder for invalid rules message shortening | 2021-11-27 | -1/+2 | |
| | | | | | | | | | ... is used everywhere else across the codebase where extwrap.shorten is used, so I'm making it match here. | |||
| | * | Limit length of the invalid rule indices message | 2021-11-27 | -1/+3 | |
| |/ | ||||
| * | Suppress NotFound error when cleaning messages | 2021-11-24 | -1/+2 | |
| | | | | | | * Added suppress for notfound error * Update clean.py | |||