aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | * | | | | | | | | | | | | | | | Schedule channels just opened using claimant configured idle timeGravatar Chris2021-03-25-1/+1
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | Check for close on command explictly.Gravatar Chris2021-03-25-1/+1
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | Remove unneeded cache clearingGravatar Chris2021-03-25-8/+0
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | Change help channel logic to use timezone naive stampsGravatar Chris2021-03-25-8/+6
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | Don't prepend command closes with autoGravatar Chris2021-03-25-2/+3
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | Add back seperation whitespaceGravatar Chris2021-03-24-0/+1
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | Use claiment idle time as default idle minutes.Gravatar Chris2021-03-24-1/+1
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | Use fallback behaviour during cog initGravatar Chris2021-03-24-5/+8
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | Merge pull request #1476 from laundmo/help-channel-closing-delay-changesGravatar ChrisJL2021-03-20-27/+45
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reset cache on bot start, stats for different close reasons
| | | * | | | | | | | | | | | | | | | run precommit with all depsGravatar laundmo2021-03-20-1/+1
| | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | passing pre-commitGravatar laundmo2021-03-20-4/+11
| | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | reset cache on bot start, stats for different close reasonsGravatar laundmo2021-03-19-28/+39
| | |/ / / / / / / / / / / / / / / /
| | * | | | | | | | | | | | | | | | More descriptive comment for when an if block is enteredGravatar Chris2021-03-18-1/+1
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | Determine closing time from last message if either cache is empty, rather ↵Gravatar Chris2021-03-18-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | than if both are empty
| | * | | | | | | | | | | | | | | | If the channel is empty, determine closing time based on last message.Gravatar Chris2021-03-18-4/+5
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | Move return behaviour comments to in-line rather than docstring.Gravatar Chris2021-03-18-8/+4
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | Delete cached claimant message time.Gravatar Chris2021-03-18-0/+1
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | Update function name to describe new behaviour.Gravatar Chris2021-03-18-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also updates the doc string to reflect this new behaviour.
| | * | | | | | | | | | | | | | | | Repurpose unanswered cache for storing non-claimant last message timesGravatar Chris2021-03-18-59/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The unanswered cache was previously just a boolen of whether a non-claimant every replied to a help channel. With us now needing to know the time at which a non-claimant messaged in a given channel, we infer the answered status from this cache instead.
| | * | | | | | | | | | | | | | | | Improve docs strings and variable names within the help channel systemGravatar Chris2021-03-17-20/+20
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | Improve availible channel embed footerGravatar Chris2021-03-17-1/+1
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | Improve trace message.Gravatar Chris2021-03-16-1/+1
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | Extend close time logic to differentiate between the claimant and other users.Gravatar Chris2021-03-16-29/+75
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | Update help availible footerGravatar Chris2021-03-16-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As we have complicated this logic, we now don't specify exactly how long until the channel will close.
| | * | | | | | | | | | | | | | | | Set a reasonable default for `idle_minutes_others`.Gravatar Chris2021-03-16-1/+1
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | Split out help channel idle time constantsGravatar Chris2021-03-16-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows us to configure the idle time allowed for claiments seperate from tohers.
| | | * | | | | | | | | | | | | | | Removed user event announcements from the config.Gravatar Den42002021-03-30-4/+0
| | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | Gracefully handle failure to upload to hastebin in `!dmrelay`.Gravatar Den42002021-03-30-0/+5
| | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | Replace usage of `textwrap.dedent` with a cleaner method.Gravatar Den42002021-03-30-5/+4
| | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | Remove `dm_log` from channels and webhooks in the config.Gravatar Den42002021-03-30-4/+0
| | |/ / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Merge pull request #1490 from ↵Gravatar Joe Banks2021-03-30-1/+1
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | python-discord/sebastiaan/increase-help-channel-count Increase the total number of help channels to 42
| | * | | | | | | | | | | | | | | Increase the total number of help channels to 42Gravatar Sebastiaan Zeeff2021-03-30-1/+1
| |/ / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We've seen an increase in help channel activity and we're running out of help channels frequently. That's why we're increasing the number of help channels from 38 to 42. Note that the old configuration said 32, but we had more channels in actual rotation due to a race condition we had in the past. The system will never delete channels that were already in rotation, meaning that those that were added over the limit in the past still existed.
| * | | | | | | | | | | | | | | Add myself to CODEOWNERS (#1489)Gravatar Joe Banks2021-03-28-9/+9
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Merge pull request #1488 from ToxicKidz/filter-mentionsGravatar Joe Banks2021-03-28-5/+5
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | | | Update bot/exts/info/information.pyGravatar ToxicKidz2021-03-28-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Joe Banks <[email protected]>
| | * | | | | | | | | | | | | | | Filter codeblick escapes and allow no mentions for !raw commandGravatar ToxicKidz2021-03-28-5/+5
| |/ / / / / / / / / / / / / / /
| * | | | | | | | | | | | | | | Merge pull request #1486 from python-discord/feat/dmrelayGravatar ks1292021-03-28-113/+56
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | !dmrelay command
| | * | | | | | | | | | | | | | | Reduce API calls in `!dmrelay`.Gravatar Den42002021-03-28-15/+13
| | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | Merge remote-tracking branch 'refs/remotes/origin/feat/dmrelay' into ↵Gravatar Den42002021-03-28-1/+1
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | feat/dmrelay
| | | * | | | | | | | | | | | | | | Improve `DMRelay` cog description.Gravatar Dennis Pham2021-03-28-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Joe Banks <[email protected]>
| | * | | | | | | | | | | | | | | | Force cache to update for user history.Gravatar Den42002021-03-28-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before, the user would have to send a DM to the bot after startup for the bot to realize there is DM history with that specific user. Now, we force a cache refresh when a moderator invokes `!dmrelay`, so this shouldn't be an issue anymore.
| | * | | | | | | | | | | | | | | | Account for requesting the bot's DMs with itself.Gravatar Den42002021-03-28-1/+1
| | |/ / / / / / / / / / / / / / /
| | * | | | | | | | | | | | | | | Added a newline to space out some code.Gravatar Dennis Pham2021-03-28-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Joe Banks <[email protected]>
| | * | | | | | | | | | | | | | | Restrict DMRelay cog to moderators only.Gravatar Den42002021-03-27-2/+6
| | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | Create the new DMRelay cog.Gravatar Den42002021-03-27-0/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Includes the `!dmrelay` command, allowing moderators to relay direct messages between the bot and other users.
| | * | | | | | | | | | | | | | | Fix tests for paste uploads.Gravatar Den42002021-03-27-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Accounts for no redirects on extensions that are not `.py`.
| | * | | | | | | | | | | | | | | Remove the old DMRelay cog.Gravatar Den42002021-03-27-132/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The moderation team has decided that this may come in conflict with Discord's ToS, and it does not serve too much of a purpose anymore. It was fun while it lasted!
| | * | | | | | | | | | | | | | | Restrict redirects for paste uploads with an extension that is not `.py`.Gravatar Den42002021-03-27-1/+7
| |/ / / / / / / / / / / / / / /
| | | * | | | | | | | | | | | | Merge: changes from 'upstream/main' & conflict resolutionGravatar kwzrd2021-03-28-399/+854
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflict in the lockfile resolved by re-locking the merged Pipfile. Conflict in Branding constants resolved by keeping my local version. Change in the cog's target branch to 'main' from 'master' is currently irrelevant as we targets a development branch anyway.
| * | | | | | | | | | | | | | | Merge pull request #1466 from vcokltfre/discord-tagsGravatar Joe Banks2021-03-26-0/+22
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / / / / / / / / | |/| | | | | | | | | | | | | | feat: add new discord.py tags