aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Update bot/cogs/watchchannels/watchchannel.pyGravatar Sebastiaan Zeeff2019-07-03-1/+1
| | | Co-Authored-By: Mark <[email protected]>
* Removing last embed responses and unused importsGravatar SebastiaanZ2019-07-03-11/+3
|
* Merge branch 'django-watchchannels' of github.com:python-discord/bot into ↵Gravatar SebastiaanZ2019-07-03-2/+2
|\ | | | | | | django-watchchannels
| * Apply docstring and logging message suggestionsGravatar Sebastiaan Zeeff2019-07-01-2/+2
| | | | | | Co-Authored-By: Mark <[email protected]>
* | Change end nomination API endpoint to PATCH endpointGravatar SebastiaanZ2019-07-03-4/+3
| |
* | Applied the following changes requested by reviews:Gravatar SebastiaanZ2019-07-03-91/+50
|/ | | | | | | | | | - Bot responses are now plain messages instead of embeds; - The message history in the WatchChannel cog is now stored using a new dataclass, MessageHistory; - Removed the truncation option from the modified name field in logging; - bigbrother now provides user feedback when watching fails due to failing cache update; - Changed the lay-out of the mod_log alert and set ping_everyone to True; - Changed the function signature of `post_infraction` utility function to the one-parameter-per-line style; - Moved the declaration of File within bot/utils/messages.py to before the if/else to make things DRY.
* Applying changes requested in the reviews.Gravatar SebastiaanZ2019-06-29-109/+99
| | | | | | | | Somewhat major changes include: - Reworked the start_watchchannel retry logic; - Updated docstrings; - Removed/changed Tetris-style argument lists to one-per-line or all on one line.
* Making sure a watch/unwatch reason is required when using the alias as wellGravatar SebastiaanZ2019-06-29-12/+4
|
* Changing 'return await ctx.send' to return on next line for correct return ↵Gravatar SebastiaanZ2019-06-28-19/+30
| | | | value annotation
* force child to set parameters via __init__; return value annotations; ↵Gravatar SebastiaanZ2019-06-28-49/+46
| | | | correcting spelling mistakes; + small fixes
* Updating constants to include talent-poolGravatar SebastiaanZ2019-06-28-0/+2
|
* Removing the old talentpool/bigbrother files + changing the extension loaderGravatar SebastiaanZ2019-06-27-379/+1
|
* Truncating long names that misalign logs + adding 3 chars to account for ↵Gravatar SebastiaanZ2019-06-27-1/+1
| | | | watchchannels
* Adding Webhooks to constantsGravatar SebastiaanZ2019-06-27-0/+12
|
* Tweaking aliases to use the correct convertersGravatar SebastiaanZ2019-06-27-8/+30
|
* Adding TalentPool to the watchchannelsGravatar SebastiaanZ2019-06-27-2/+272
|
* Adding proxy_user to type hints, adding anti-bot watch, and tweaking user ↵Gravatar SebastiaanZ2019-06-27-20/+23
| | | | feedback
* Adding proxy channel + improved methods to watchchannelGravatar SebastiaanZ2019-06-27-48/+69
|
* Cleaning up debug functions and unnecessary importsGravatar SebastiaanZ2019-06-27-7/+1
|
* Adding the BigBrother watchchannel classGravatar SebastiaanZ2019-06-27-0/+131
|
* Adding support to the 'active' parameter when posting an infractionGravatar SebastiaanZ2019-06-27-3/+4
|
* Changing the send_attachments utility to add WebHook supportGravatar SebastiaanZ2019-06-27-5/+19
|
* Adding the WatchChannel ABCGravatar SebastiaanZ2019-06-27-0/+341
|
* Merge pull request #372 from python-discord/snekboxGravatar Leon Sandøy2019-06-22-388/+158
|\ | | | | Replace RabbitMQ with Snekbox API
| * Snekbox: limit paste service uploads to 1000 charactersGravatar MarkKoz2019-06-16-1/+6
| |
| * Snekbox: remove code templateGravatar MarkKoz2019-06-15-12/+1
| | | | | | | | | | | | | | | | | | | | | | | | Removing the template allows for line numbers in tracebacks to correspond to the input code. Since stderr has been merged into stdout, exceptions will already be captured. Thus, it is redundant to wrap the code in a try-except. Importing of the site module has been re-enabled on Snekbox which automatically adds site-packages to sys.path. Thus, the virtual environment does not need to be activated anymore in a template.
| * Snekbox: adjust for API change that merged stderr into stdoutGravatar MarkKoz2019-06-15-7/+3
| |
| * Snekbox: make output formatting more efficientGravatar MarkKoz2019-06-14-8/+12
| | | | | | | | | | | | * Only prepend line numbers to the first 10 lines * Use generator expression for prepending line numbers to output * Add trace logging
| * Snekbox: provide more descriptive messages for failuresGravatar MarkKoz2019-06-14-8/+44
| | | | | | | | | | | | | | | | Uses the process's return code to determine an appropriate message. Furthermore, the signal's name is returned if applicable. * Log process's return code * Edit cog docstring
| * Snekbox: redirect stderr to stdoutGravatar MarkKoz2019-06-14-4/+8
| | | | | | | | * Save original output before processing output
| * Snekbox: refactor eval commandGravatar MarkKoz2019-06-14-25/+25
| |
| * Snekbox: move output formatting to a separate functionGravatar MarkKoz2019-06-14-40/+47
| |
| * Snekbox: move paste service upload to a separate functionGravatar MarkKoz2019-06-14-10/+14
| |
| * Snekbox: move input code preparation to a separate functionGravatar MarkKoz2019-06-14-16/+23
| |
| * Snekbox: add a function to send a request to the APIGravatar MarkKoz2019-06-14-0/+7
| |
| * Add snekbox endpoint to constantsGravatar MarkKoz2019-06-13-0/+6
| |
| * Banish RabbitMQ from this worldGravatar MarkKoz2019-06-13-296/+1
|/
* Merge pull request #371 from python-discord/django-appealsGravatar Leon Sandøy2019-06-09-2/+6
|\ | | | | Django: Add Appeals E-mail to Infraction DMs
| * Fix linting error for snakesGravatar MarkKoz2019-06-09-2/+2
| |
| * Add appeals e-mail to infraction DMsGravatar MarkKoz2019-06-09-0/+4
|/
* Updates the cog list and cog batch load/unloads to use status_indicator ↵Gravatar Leon Sandøy2019-05-20-6/+6
| | | | emojis instead of chevrons.
* Removing special handling (allowance) for self-deprecating uses of the word ↵Gravatar Leon Sandøy2019-05-13-15/+0
| | | | 'retarded' from the filter. All bad words are now, once again, equal.
* Update apt cache in build piplineGravatar Jeremiah Boby2019-05-08-1/+3
|
* Fixing linting error -_-Gravatar Leon Sandøy2019-04-27-3/+2
|
* Removing dulwich and devalerts for bulk deletionGravatar Leon Sandøy2019-04-27-342/+361
|
* Run tests with bogus token.Gravatar Johannes Christ2019-03-10-1/+4
|
* Remove pytest stage for pipeline.Gravatar Scragly2019-03-09-4/+1
|
* Merge pull request #333 from python-discord/django-lintGravatar Leon Sandøy2019-03-09-38/+23
|\ | | | | Fix the linting issues with Bot so builds will work.
| * Fix the linting issues with Bot so builds will work.Gravatar Scragly2019-03-09-38/+23
|/
* Revert to 16.04 build pools.Gravatar azure-pipelines[bot]2019-03-09-1/+1
|