| Commit message (Collapse) | Author | Age | Lines |
| ... | |
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
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]>
|
| | | | | | | | |
|
| | | | |_|_|/
| | |/| | | |
|
| | |\| | | | |
|
| | | |_|_|/
| |/| | |
| | | | |
| | | | | |
Closes: #136
|
| | |/ / /
|/| | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | | |
|
| |/ / |
|
| |/ |
|
| |\
| |
| |
| | |
Module was placed in the `seasons` pkg, which we renamed to `exts`.
|
| | |\ |
|
| | |\ \ |
|
| | |\ \ \ |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This way, we can standardize the way Months are shown to both the user
and the developer. Note that if passing a Month member to an f-string,
the `!s` format code must be specified to ensure our __str__ is used.
Co-authored-by: MarkKoz <[email protected]>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* Capitalize month names
* Add backticks to `sha` attr reference
* Avoid misusing the term 'poll'
Co-authored-by: MarkKoz <[email protected]>
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Co-authored-by: MarkKoz <[email protected]>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Constant is no longer used.
See: 9259f985e6e327a522b4420c879a50cb4f75a09d
|