aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Update trivia_quiz.jsonGravatar soul crusher 20052021-01-20-0/+12
| | | new questions
* Merge pull request #552 from ChrisLovering/IGDB-V4Gravatar Dennis Pham2021-01-17-14/+72
|\ | | | | Migrate to IGDB V4 API
| * Merge branch 'master' into IGDB-V4Gravatar ks1292021-01-17-37/+5
| |\ | |/ |/|
* | Merge pull request #557 from python-discord/add_voice_chatGravatar Xithrius2021-01-15-2/+4
|\ \ | | | | | | Adds New Voice Chat Channel To Constants
| * | Updates ConstantsGravatar Hassan Abouelela2021-01-15-2/+4
|/ / | | | | | | | | Updates the constants file with the new channel ID, and renames both channels to match the new names.
* | Remove sprint channels from the configuration.Gravatar Matteo Bertucci2021-01-15-34/+0
| | | | | | Now that the core dev sprint has ended, we can safely remove those. It caused the wrong channel message to be huge because of all the deleted channels.
* | Merge pull request #553 from ChrisLovering/8bit-colour-paletteGravatar ks1292021-01-10-1/+1
|\ \ | | | | | | Actually use 256 colours
| * | Actually use 256 coloursGravatar Chris2021-01-09-1/+1
|/ /
| * Add OAuth response to warning.Gravatar Chris2021-01-08-1/+4
| |
| * Switch to post requests and start task at right time.Gravatar Chris2021-01-08-9/+10
| |
| * Use current token if we can't get a new oneGravatar Chris2021-01-08-12/+21
| |
| * Move renewal window to a constGravatar Chris2021-01-08-2/+5
| |
| * Un-comment out task startGravatar Chris2021-01-08-1/+1
| |
| * Revert change to trashcan emojiGravatar Chris2021-01-08-1/+1
| |
| * Get and renew V4 OAuth tokenGravatar Chris2021-01-08-8/+50
|/
* Merge pull request #510 from hedythedev/hackstatsGravatar ks1292021-01-06-16/+29
|\ | | | | Hackstats: Handle Non-existent GitHub username
| * Merge branch 'master' into hackstatsGravatar ks1292021-01-06-1102/+1313
| |\ | |/ |/|
* | Merge pull request #550 from python-discord/precommit-pycharmGravatar ks1292021-01-02-1/+1
|\ \ | | | | | | Make flake8 properly run through pre-commit in PyCharm.
| * | Changed Python language hook to system.Gravatar xithrius2021-01-02-1/+1
|/ /
* | Merge pull request #484 from WillDaSilva/omdb-to-tmdbGravatar ks1292020-12-29-51/+51
|\ \ | | | | | | Replace OMDB with TMDB
| * | Remove unused importGravatar William Da Silva2020-12-29-1/+1
| | |
| * | Merge branch 'master' into omdb-to-tmdbGravatar William Da Silva2020-12-28-1049/+1262
| |\ \ | |/ / |/| |
* | | Merge pull request #483 from WillDaSilva/prideavatar-urlGravatar ks1292020-12-28-37/+70
|\ \ \ | | | | | | | | Make prideavatar support specifying the image by URL
| * \ \ Merge branch 'master' into prideavatar-urlGravatar ks1292020-12-28-1014/+1192
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #547 from python-discord/ks123/sentryGravatar ks1292020-12-20-70/+111
|\ \ \ \ | | | | | | | | | | Sentry SDK version bump, integrations adding and Sentry release workflow
| * | | | Fix wrong way for getting Git SHAGravatar ks1292020-12-20-1/+1
| | | | |
| * | | | Use sir-lancebot release prefix in workflowGravatar ks1292020-12-19-1/+1
| | | | |
| * | | | Use sir-lancebot instead pydis-sir-lancebot for release nameGravatar ks1292020-12-19-1/+1
| | | | | | | | | | | | | | | Co-authored-by: Joe Banks <[email protected]>
| * | | | Remove aiohttp integration from SentryGravatar ks1292020-12-19-3/+1
| | | | |
| * | | | Add release tag to Sentry SDK initializationGravatar ks1292020-12-19-3/+4
| | | | |
| * | | | Add Git SHA as constantGravatar ks1292020-12-19-0/+2
| | | | |
| * | | | Put Git SHA to container on container buildGravatar ks1292020-12-19-0/+2
| | | | |
| * | | | Add default development value to Git SHAGravatar ks1292020-12-19-1/+1
| | | | |
| * | | | Add Git SHA build argument to DockerfileGravatar ks1292020-12-19-1/+5
| | | | |
| * | | | Create Sentry release workflowGravatar ks1292020-12-19-0/+24
| | | | |
| * | | | Add Redis and aiohttp integrations to SentryGravatar ks1292020-12-19-1/+7
| | | | |
| * | | | Bump Sentry SDK from 0.14 to 0.19Gravatar ks1292020-12-19-67/+71
|/ / / /
* | | | Merge pull request #535 from ↵Gravatar Sebastiaan Zeeff2020-12-16-98/+182
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | python-discord/sebastiaan/advent-of-code/refactor-background-tasks Refactor Advent of Code background tasks to account for deseasonification
| * \ \ \ Merge branch 'master' into sebastiaan/advent-of-code/refactor-background-tasksGravatar Sebastiaan Zeeff2020-12-16-0/+4
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Add codeowner entries for ks129Gravatar ks1292020-12-16-0/+4
| | | | |
| * | | | Clarify comment on AoC Status Task startup delayGravatar Sebastiaan Zeeff2020-12-13-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Advent of Code Status Countdown task needs to wait for two things to happen to prevent it from failing during the startup sequence: 1. The Websocket instance discord.py creates needs to be available as an attribute of the bot, otherwise discord.py fails internally: Traceback (most recent call last): File "discord/client.py", line 1049, in change_presence await self.ws.change_presence( activity=activity, status=status, afk=afk ) File "advent_of_code/_cog.py", line 52, in countdown_status await bot.change_presence(activity=discord.Game(playing)) AttributeError: 'NoneType' object has no attribute 'change_presence' 2. Allegedly, according to the discord.py community, trying to change the status too early in the sequence to establish a connection with Discord may result ub the Discord API aborting the connection. To solve this, I've added a `wait_until_guild_available` waiter, as it guarantees that the websocket is available and the connections is mature. Kaizen: I've changed the name `new_puzzle_announcement` to `new_puzzle_notification` to better reflect its function.
| * | | | Merge branch 'master' into sebastiaan/advent-of-code/refactor-background-tasksGravatar Sebastiaan Zeeff2020-12-13-226/+252
| |\ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | # Conflicts: # bot/exts/christmas/advent_of_code/_cog.py # bot/exts/christmas/advent_of_code/_helpers.py
* | | | | Add callback to log errors in AoC background tasksGravatar Sebastiaan Zeeff2020-12-13-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, our Advent of Code background tasks fail without logging errors or printing error messages. This makes it difficult to debug the errors and means that they may fail silently. While we should ideally find the root cause that hides such errors, I've added a done_callback function in the meantime to help us debug the current issues with the Advent of Code Notification Task.
* | | | | Merge pull request #541 from janine9vn/aoc2020Gravatar Boris Muratov2020-12-12-5/+16
|\ \ \ \ \ | | | | | | | | | | | | Aoc2020
| * | | | | Change AOC_WHITELIST names for clarityGravatar janine9vn2020-12-11-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AOC_WHITELIST was changed to AOC_WHITELIST_RESTRICTED because it is clearer that commands with this parameter in the `@override_in_channel()` decorator will be restricted to the aoc commands channel and not be allowed in the main aoc channel. In the same vein, AOC_WHITELIST_PLUS was changed to AOC_WHITELIST.
| * | | | | Change Default AoC Commands ChannelGravatar janine9vn2020-12-11-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes the default value of the advent_of_code_commands constant to be the same channel ID as sir-lancebot-commands. If no AoC commands channel is set in the .env file, it'll re-direct people to sir-lancebot-commands instead.
| * | | | | Remove extra pleaseGravatar janine9vn2020-12-11-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Please -= 1
| * | | | | Remove re-raising the errorGravatar janine9vn2020-12-11-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | Per Mark's comment, re-raising the error isn't necessary.
| * | | | | Change custom error handler to match new styleGravatar janine9vn2020-12-11-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm a bit ahead of the game and changing the error handler to match the new style that Iceman will PR shortly.
| * | | | | Add cog-level error handler for Incorrect ChannelGravatar janine9vn2020-12-11-6/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If any of the "spammier" commands (stats, leaderboard) are used within the primary advent of code channel, rather than a non-specific embed we instead reply with the channel they should be using. This also adds a "AOC_WHITELIST_PLUS" constant that makes it easier to adjust what channels the non-spammier aoc commands can be used in.