| Commit message (Collapse) | Author | Age | Lines |
| |
|
| |
new questions
|
| |\
| |
| | |
Migrate to IGDB V4 API
|
| | |\
| |/
|/| |
|
| |\ \
| | |
| | | |
Adds New Voice Chat Channel To Constants
|
| |/ /
| |
| |
| |
| | |
Updates the constants file with the new channel ID, and renames both
channels to match the new names.
|
| | |
| |
| | |
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 colours
|
| |/ / |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |/ |
|
| |\
| |
| | |
Hackstats: Handle Non-existent GitHub username
|
| | |\
| |/
|/| |
|
| |\ \
| | |
| | | |
Make flake8 properly run through pre-commit in PyCharm.
|
| |/ / |
|
| |\ \
| | |
| | | |
Replace OMDB with TMDB
|
| | | | |
|
| | |\ \
| |/ /
|/| | |
|
| |\ \ \
| | | |
| | | | |
Make prideavatar support specifying the image by URL
|
| | |\ \ \
| |/ / /
|/| | | |
|
| |\ \ \ \
| | | | |
| | | | | |
Sentry SDK version bump, integrations adding and Sentry release workflow
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | | |
Co-authored-by: Joe Banks <[email protected]>
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| |/ / / / |
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
python-discord/sebastiaan/advent-of-code/refactor-background-tasks
Refactor Advent of Code background tasks to account for deseasonification
|
| | |\ \ \ \
| |/ / / /
|/| | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| | |\ \ \ \
| |/ / / /
|/| | | |
| | | | |
| | | | |
| | | | | |
# Conflicts:
# bot/exts/christmas/advent_of_code/_cog.py
# bot/exts/christmas/advent_of_code/_helpers.py
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
Aoc2020
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Please -= 1
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Per Mark's comment, re-raising the error isn't necessary.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
I'm a bit ahead of the game and changing the error handler to match
the new style that Iceman will PR shortly.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|