aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | * | | | | | | | | | | | | | 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]>
| | | | | * | | | | | | | Adds VoiceChannels and Related Chats to ConfigGravatar Hassan Abouelela2020-11-24-3/+17
| | |_|_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates config-default.yml to include voice channels, and the text chat channel they map to. Signed-off-by: Hassan Abouelela <[email protected]>
| * | | | | | | | | | | Update CODEOWNERSGravatar Joe Banks2020-11-24-1/+2
| | | | | | | | | | | |
| * | | | | | | | | | | Update CODEOWNERSGravatar Joe Banks2020-11-24-1/+1
| | | | | | | | | | | |
| * | | | | | | | | | | Open deployment.yaml from kubernetes repositoryGravatar Sebastiaan Zeeff2020-11-23-22/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We will now use the deployment information located in the private python-discord/kubernetes repository. The workflow will use a GitHub Personal Access Token to access this private repository. Signed-off-by: Sebastiaan Zeeff <[email protected]>
| * | | | | | | | | | | Narrow down repository events that trigger a buildGravatar Sebastiaan Zeeff2020-11-23-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I've narrowed down repository events that trigger a Build to the "push" event specifically. This means that we never build for a "pull request" trigger, even if the source branch is called "master". Signed-off-by: Sebastiaan Zeeff <[email protected]>
* | | | | | | | | | | | Refractors According To Style GuideGravatar Hassan Abouelela2020-11-28-78/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates changes made in the PR to be more inline with style guide. Signed-off-by: Hassan Abouelela <[email protected]>
* | | | | | | | | | | | Refractors Voice Sync HelperGravatar Hassan Abouelela2020-11-28-91/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refractors the voice sync helper function into two different functions, one for each purpose. Moves the afk_channel get/creation code to its own function. Updates tests. Signed-off-by: Hassan Abouelela <[email protected]>
* | | | | | | | | | | | Clarifies Constants Use in SilenceGravatar Hassan Abouelela2020-11-28-23/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes all usages of bot.constant to use dotted path to remove confusion and namespace collision. Signed-off-by: Hassan Abouelela <[email protected]>
* | | | | | | | | | | | Updates Silence LockGravatar Hassan Abouelela2020-11-26-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modifies the lock on the silence command, in order to choose between ctx and channel arg based on input. Signed-off-by: Hassan Abouelela <[email protected]>
* | | | | | | | | | | | Reduces Redundant Code in Silence CogGravatar Hassan Abouelela2020-11-25-32/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Restructures some code to make it more understandable and reduce duplication. Signed-off-by: Hassan Abouelela <[email protected]>
* | | | | | | | | | | | Refactors Send Message Function Gravatar Hassan Abouelela2020-11-25-11/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactors the send message utility function to make it more legible and reduce unnecessary calls. Co-authored-by: Mark <[email protected]>
* | | | | | | | | | | | Reduces IsInstance Calls Where PossibleGravatar Hassan Abouelela2020-11-24-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduces redundant calls to isinstance by saving the result where applicable. Signed-off-by: Hassan Abouelela <[email protected]>