| Commit message (Collapse) | Author | Age | Lines |
... | |
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
I've updated some docstrings to include more information about the inner
workings of some of the functions. In addition, I've also slightly
reformulated some block comments to improve their grammar.
Kaizen change: There was a redundant list comprehension in the Advent
of Code section of the constants. I've removed it.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
I've added support for ignoring scores from specific days. A list of
days to ignore can be provided using the environment variable
`AOC_IGNORED_DAYS` as a comma-separated list.
This example would ignore day 1 and day 23:
AOC_IGNORED_DAYS=1,23
I've also added a helper function to sort the leaderboard not only on
the achieved score, but also on the number of stars an individual has
completed.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
There were still two constants left over that were no longer used after
the rewrite. I've removed them.
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
We're no longer going to use a two-channel setup for this event, as we
don't want to split the event community into two, staff and non-staff.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
I've added a unified approach to setting data for multiple leaderboards
using environmental variables. Instead of setting separate variables for
the three pieces of data we have, hoping that the position of each board
matches up in the three fields, I now set one environmental variable,
AOC_LEADERBOARDS, that holds delimited data.
The data is in the format:
board_id1,session1,join_code1::board_id2,session2,join_code2[::...]
The staff leaderboards should be included as usual in this environmental
variable. Another environment variable, AOC_STAFF_LEADERBOARD_ID, can be
used to designate which leaderboard should be used as the staff board.
I've also made some other constants configurable in this commit and
added the role ID of the Events Lead role to allow the Events Lead to
force a reload of the leaderboard cache.
|
| | | |
| | | |
| | | | |
Co-authored-by: Joe Banks <[email protected]>
|
| | | | |
|
| | |/
| |/| |
|
|\| | |
|
| | |
| | |
| | |
| | |
| | | |
I've tried to replace this with generic references where appropriate,
but a lot of the time it just doesn't make a lot of sense to do so.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
These are channels created for the CPython Core Dev Sprint event.
|
| | |
| | |
| | |
| | | |
There were two attributes named 'announcements' on the Channels class.
|
| | |
| | |
| | |
| | | |
Removed a trailing white space that caused a build failure.
|
| | |
| | |
| | | |
For the sake of entertainment of the Core Devs, I have added the SeasonalBot functionality to the Core Dev Sprint channels.
|
| |/
| |
| | |
Since SeasonalBot is able to be used in the off-topic channels, it makes to have it work in the voice_chat channel as well.
|
|\| |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | | |
I've updated the Hacktoberfest channel ID to the ID of the new channel
just created for the 2020 edition of the event.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We had an old Cog that would allow our members to run a command to make
Seasonal Bot join a voice channel to play a spooky sound. However, as
our voice channel use has changed over the past year, we don't think
that it's still a good idea to do this.
That's why I removed the Cog and the constants related to it.
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | | |
- Since URLs no longer exists, it's now removed from __all__
|
| | | |
| | | |
| | | |
| | | |
| | | | |
- Previous version was pointing to Python, not SeasonalBot
Co-authored-by: Dennis Pham <[email protected]>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Avatar URL can be accessed through bot.user.avatar_url and won't need to be a constant
- Bot repo URL fits better under the Client named tuple
- URLs class removed, since it was no longer used
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Previous versions used the id from a local test server
- This version uses the PyDis core developer role
|
| | | |
| | | |
| | | |
| | | | |
- Required for extensions.py to work properly
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Includes bot_avatar and github_bot_repo URLs
- Necessary for extensions.py cog to work
|
| | | | |
|
| | | | |
|
| | |/
| |/| |
|
|\| | |
|
| |\| |
|
| | | |
|
| | |
| | |
| | |
| | | |
- Resolves #440
|
| | |
| | |
| | |
| | | |
throughout constants.py
|
| | | |
|
| | |
| | |
| | |
| | | |
Alphabetized the "Colours" NamedTuple in the constants file.
|
| | | |
|
| |/ |
|
| | |
|
| |
| |
| |
| | |
function `send_board` to `Game` class.
|
| | |
|
| | |
|
|/
|
|
| |
in reactions.
|
|\
| |
| |
| | |
Module was placed in the `seasons` pkg, which we renamed to `exts`.
|
| |\ |
|