| Commit message (Collapse) | Author | Age | Lines |
| ... | |
| | | | | | |
|
| | | | | | |
|
| | | | |\ \ |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This refactors the infraction_edit and infraction_append commands to
utilize the Infraction converter.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This adds the Infraction converter to be used in infraction_edit and
infraction_append.
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Renames code_help_channel to be more inline with channel 2.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | | |_|_|/
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Updates config-default.yml to include voice channels, and the text chat
channel they map to.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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]>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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]>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Updates changes made in the PR to be more inline with style guide.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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]>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Changes all usages of bot.constant to use dotted path to remove
confusion and namespace collision.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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]>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Restructures some code to make it more understandable and reduce
duplication.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Refactors the send message utility function to make it more legible and
reduce unnecessary calls.
Co-authored-by: Mark <[email protected]>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Reduces redundant calls to isinstance by saving the result where
applicable.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Replaces a repeated hardcoded message with a dynamically built one.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
During unsilencing, if the previous channel overwrites are None, the
channel should default to None for all relevant permissions. Adds the
connect permission as it was missing.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Moves the call to voice chat sync from _unsilence_wrapper to _unsilence.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
VoiceChat sync only needs to be called when the command is invoked,
instead of while updating permissions. Moved call to command function to
reflect that, and fixed failing tests.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Refractors the send message function in silence to make it more
understandable and flexible.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | | | | |
| | | | |
| | | | | |
Co-authored-by: Mark <[email protected]>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Removes the AnyChannel converter in favor of a combination of Text and
Voice converters.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
A typo caused the function to return the text channel for `code/help 1`,
when it is meant to access `code/help 2`.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Refractors method signatures and calls to follow python-discord style
guide.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Adds tests for helper functions in the silence cog.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes the channel reported as muted to voice channel chat channels when
silencing voice channels.
Signed-off-by: Hassan Abouelela <[email protected]>
|