aboutsummaryrefslogtreecommitdiffstats
path: root/bot (follow)
Commit message (Collapse)AuthorAgeLines
* Decrease timeout from 120 sec to 30 secGravatar ks1292021-01-24-1/+1
|
* Fix indentionGravatar ks1292021-01-17-1/+1
|
* Remove unnecessary line splitGravatar ks1292021-01-17-3/+1
| | | Co-authored-by: Xithrius <[email protected]>
* Merge branch 'master' into tic-tac-toeGravatar ks1292021-01-16-37/+5
|\
| * 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.
| * Actually use 256 coloursGravatar Chris2021-01-09-1/+1
| |
* | Fix too long lineGravatar ks1292021-01-16-1/+4
| |
* | More grammar fixesGravatar ks1292021-01-16-2/+2
| |
* | Improve "your turn" messageGravatar ks1292021-01-16-1/+1
| |
* | Add missing a articleGravatar ks1292021-01-16-1/+1
| | | | | | Co-authored-by: ChrisJL <[email protected]>
* | Fix grammarGravatar ks1292021-01-16-1/+1
| | | | | | Co-authored-by: ChrisJL <[email protected]>
* | Move Tic Tac Toe board to embed descriptionGravatar ks1292021-01-16-2/+6
| |
* | Simplify check_win function returningGravatar ks1292021-01-09-12/+12
| |
* | Corrected small spelling mistake.Gravatar xithrius2021-01-08-4/+4
| |
* | Merge remote-tracking branch 'origin/master' into tic-tac-toeGravatar xithrius2021-01-08-67/+80
|\|
| * Merge branch 'master' into hackstatsGravatar ks1292021-01-06-867/+1108
| |\
| | * Remove unused importGravatar William Da Silva2020-12-29-1/+1
| | |
| | * Merge branch 'master' into omdb-to-tmdbGravatar William Da Silva2020-12-28-815/+1058
| | |\
| | * \ Merge branch 'master' into omdb-to-tmdbGravatar Matteo Bertucci2020-11-30-1369/+906
| | |\ \
| | * | | Fix empty field in snake movie embedGravatar Will Da Silva2020-10-16-2/+4
| | | | |
| | * | | Comply with TMDB ToSGravatar Will Da Silva2020-10-16-1/+2
| | | | |
| | * | | Set the number of movie pages fetched on first requestGravatar Will Da Silva2020-10-13-1/+5
| | | | |
| | * | | Fix TMDB leakGravatar Will Da Silva2020-10-08-1/+1
| | | | |
| | * | | Replace OMDB with TMDBGravatar Will Da Silva2020-10-05-52/+43
| | | | | | | | | | | | | | | | | | | | Closes: #136
| * | | | Formatting and add full stop to docstringGravatar Hedy Li2021-01-06-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | - bot/exts/halloween/hacktoberstats.py line 130, better readability - same file line 208-209 add full stop
| * | | | Remove unused pathlib.Path importGravatar Hedy Li2020-12-03-1/+0
| | | | |
| * | | | Merge branch 'master' into hackstatsGravatar Matteo Bertucci2020-11-30-1277/+431
| |\ \ \ \ | | | |/ / | | |/| |
| * | | | Continue loop if repo topics API request erroredGravatar Hedy Li2020-10-31-1/+1
| | | | |
| * | | | Fix capitalization of 'PR' in hacktoberstats.pyGravatar Hedy Li2020-10-31-1/+1
| | | | |
| * | | | Put GitHub user-not-found message in embedGravatar Hedy Li2020-10-31-2/+5
| | | | | | | | | | | | | | | | | | | | With random `NEGATIVE_REPLIES` + color=red
| * | | | Fix capitalization and grammarGravatar Hedy Li2020-10-31-12/+12
| | | | | | | | | | | | | | | For Hacktoberstats
| * | | | better no-prs messageGravatar Hedy Li2020-10-22-1/+1
| | | | |
| * | | | improve implementation with return valueGravatar Hedy Li2020-10-22-12/+11
| | | | | | | | | | | | | | | | | | | | instead of string/None now its empty list/None
| * | | | Merge branch 'master' of https://github.com/python-discord/seasonalbot into ↵Gravatar Hedy Li2020-10-22-1/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | hackstats
| * | | | | improve message when user not foundGravatar Hedy Li2020-10-22-7/+14
| | | | | |
* | | | | | Merge branch 'master' into tic-tac-toeGravatar ks1292020-12-28-817/+1058
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | |
| * | | | | Merge branch 'master' into prideavatar-urlGravatar ks1292020-12-28-780/+988
| |\ \ \ \ \
| | * | | | | 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
| | | | | | |
| | * | | | | Add Redis and aiohttp integrations to SentryGravatar ks1292020-12-19-1/+7
| | | | | | |
| | * | | | | 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-60/+154
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # 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.
| | | * | | | | 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.