aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
* | | | | | | | | Merge pull request #1294 - Help Channel RefactorGravatar Mark2020-11-26-943/+1001
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Update help channels directory for code ownersGravatar MarkKoz2020-11-26-1/+1
| | | | | | | | | |
| * | | | | | | | | Merge branch 'master' into feat/help/refactorGravatar MarkKoz2020-11-26-74/+82
| |\| | | | | | | |
| * | | | | | | | | Help channels: document the return value of notify()Gravatar MarkKoz2020-11-26-0/+3
| | | | | | | | | |
| * | | | | | | | | Help channels: don't check if task is done before awaitingGravatar MarkKoz2020-11-26-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Awaiting a done task is effectively a no-op, so it's redundant to check if the task is done before awaiting it. Furthermore, a task is also considered done if it was cancelled or an exception was raised. Therefore, avoiding awaiting in such cases doesn't allow the errors to be propagated and incorrectly allows the awaiter to keep executing.
| * | | | | | | | | Help channels: remove how_to_get_help from excluded channelsGravatar MarkKoz2020-11-26-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The channel as moved out of this category. Delete the constant too since it isn't used anywhere else. Keep the excluded channels a tuple to conveniently support excluding multiple channels in the future.
| * | | | | | | | | Help channels: merge 2 imports into 1Gravatar MarkKoz2020-11-20-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The import was an outlier compared to how the other modules were imported. It's nicer to keep the imports consistent.
| * | | | | | | | | Help channels: move all caches to a separate moduleGravatar MarkKoz2020-11-20-50/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some need to be shared among modules, so it became redundant to redefine them in each module.
| * | | | | | | | | Help channels: wait for cog to be ready in deleted msg listenerGravatar MarkKoz2020-11-20-0/+4
| | | | | | | | | |
| * | | | | | | | | Help channels: replace ready event with awaiting the init taskGravatar MarkKoz2020-11-20-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The event is redundant since awaiting the task accomplishes the same thing. If the task is already done, the await will finish immediately. If the task gets cancelled, the error is raised but discord.py suppress it in both commands and event listeners.
| * | | | | | | | | Help channels: remove obsolete functionGravatar MarkKoz2020-11-20-5/+0
| | | | | | | | | |
| * | | | | | | | | Help channels: move cooldown/role functions to cooldown moduleGravatar MarkKoz2020-11-20-84/+104
| | | | | | | | | |
| * | | | | | | | | Help channels: move time functions to channel moduleGravatar MarkKoz2020-11-20-31/+39
| | | | | | | | | |
| * | | | | | | | | Help channels: move message functions to message moduleGravatar MarkKoz2020-11-20-178/+191
| | | | | | | | | |
| * | | | | | | | | Help channels: move pin functions to a separate moduleGravatar MarkKoz2020-11-20-47/+59
| | | | | | | | | |
| * | | | | | | | | Help channels: rename modules to use singular tenseGravatar MarkKoz2020-11-20-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Plural names imply the modules contain homogenous content. For example, "channels" implies the module contains multiple kinds of channels.
| * | | | | | | | | Help channels: move validation code to __init__.pyGravatar MarkKoz2020-11-20-27/+29
| | | | | | | | | |
| * | | | | | | | | Help channels: move name and channel funcs to separate modulesGravatar MarkKoz2020-11-20-79/+109
| | | | | | | | | |
| * | | | | | | | | Help channels: remove get_clean_channel_nameGravatar MarkKoz2020-11-20-16/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Emoji are no longer used in channel names due to harsher rate limits for renaming channels. Therefore, the function is obsolete.
| * | | | | | | | | Help channels: move to a subpackageGravatar MarkKoz2020-11-20-10/+17
| | | | | | | | | |
* | | | | | | | | | Update CODEOWNERSGravatar Joe Banks2020-11-26-2/+6
| |/ / / / / / / / |/| | | | | | | |
* | | | | | | | | Merge pull request #1307 from ↵Gravatar Sebastiaan Zeeff2020-11-26-1/+1
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | python-discord/sebastiaan/bugs/add-voiceban-to-scheduler-types Add voice_ban to supported types of the infraction scheduler
| * | | | | | | | Add voice_ban to supported types of the schedulerGravatar Sebastiaan Zeeff2020-11-26-1/+1
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `voice_ban` infraction was not listed as a supported type for the infraction scheduler. This meant that the scheduler did not schedule the expiry of `voice_ban` infractions after a restart. Those unlucky users were voice-banned perpetually.
* | | | | | | | Add Mark as a code owner of CI and Docker filesGravatar Mark2020-11-24-0/+5
| | | | | | | |
* | | | | | | | Specify code ownership for MarkGravatar MarkKoz2020-11-24-0/+19
| | | | | | | |
* | | | | | | | Update CODEOWNERSGravatar Dennis Pham2020-11-24-2/+2
| | | | | | | |
| | * | | | | | Remove unused get_latest_infraction helper methodGravatar PureFunctor2020-11-30-14/+0
| | | | | | | |
| | * | | | | | Refactor flow for automatically adding punctuationGravatar PureFunctor2020-11-30-8/+5
| | | | | | | |
| | * | | | | | Fix unawaited coroutine in InfractionGravatar PureFunctor2020-11-30-1/+1
| | | | | | | |
| | * | | | | | Merge branch 'master' into pure/feature/infraction-appendGravatar Boris Muratov2020-11-10-2056/+3188
| | |\ \ \ \ \ \
| | * | | | | | | Automatically add periods as visual buffersGravatar PureFunctor2020-11-08-6/+13
| | | | | | | | |
| | * | | | | | | Refactor redundant code in infraction_editGravatar PureFunctor2020-11-08-5/+4
| | | | | | | | |
| | * | | | | | | Raise BadArgument in the Infraction converterGravatar PureFunctor2020-11-08-11/+4
| | | | | | | | |
| | * | | | | | | Remove unnecessary noqa pragma for flake8Gravatar PureFunctor2020-11-08-2/+2
| | | | | | | | |
| | * | | | | | | Refactor infraction_edit and infraction_appendGravatar PureFunctor2020-10-03-32/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This refactors the infraction_edit and infraction_append commands to utilize the Infraction converter.
| | * | | | | | | Add Infraction converterGravatar PureFunctor2020-10-03-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the Infraction converter to be used in infraction_edit and infraction_append.
| | * | | | | | | Invoke infraction_edit directly with method callGravatar PureFunctor2020-10-03-1/+1
| | | | | | | | |
| | * | | | | | | Add bold styling for vertical bar separatorsGravatar PureFunctor2020-10-01-1/+1
| | | | | | | | |
| | * | | | | | | Remove prefix when appending a reasonGravatar PureFunctor2020-09-27-1/+1
| | | | | | | | |
| | * | | | | | | Make vertical bar separators escapedGravatar PureFunctor2020-09-24-1/+1
| | | | | | | | |
| | * | | | | | | Add visual buffer for appended reasonGravatar PureFunctor2020-09-24-1/+1
| | | | | | | | |
| | * | | | | | | Add "a" alias for appendGravatar PureFunctor2020-09-24-1/+1
| | | | | | | | |
| | * | | | | | | Fix unawaited coroutineGravatar PureFunctor2020-09-24-2/+2
| | | | | | | | |
| | * | | | | | | Refactor routine for obtaining latest infractionGravatar PureFunctor2020-09-24-22/+14
| | | | | | | | |
| | * | | | | | | Add get_latest_infraction utility functionGravatar PureFunctor2020-09-24-0/+14
| | | | | | | | |
| | * | | | | | | Add append subcommand for infraction groupGravatar PureFunctor2020-09-24-0/+50
| | | | | | | | |
| | | | * | | | | Alphabetizes Channel OrderingGravatar Hassan Abouelela2020-11-28-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | | | * | | | | Fixes AlignmentGravatar Hassan Abouelela2020-11-28-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | | | * | | | | Renames Code Help ChannelGravatar Hassan Abouelela2020-11-28-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Renames code_help_channel to be more inline with channel 2. Signed-off-by: Hassan Abouelela <[email protected]>
| | | | * | | | | Removes Non-Existent ChannelGravatar Hassan Abouelela2020-11-28-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>