| Commit message (Collapse) | Author | Age | Lines |
| ... | |
| | | | |
| | | |
| | | |
| | | |
| | | | |
Changed the range check for the status code.
Previously was 599, now 600.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Corrected the URL for the Dog embed (was mistakenly using CAT URL.
Created a standalone ERROR_LENGTH_EMBED to send if the code used
by the user is not in the range 100, 599.
Changed the response status check to include 299 (to be proper).
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
This will avoid sending the error embed even when the status codes
are ok.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
Also updated the line breaks, black was formatting on save locally.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Now that the branch is correctly tracking only the changes to the
file `status_codes.py` the other requests can be addressed. Currently
the only change not addressed is to handle the range of responses
allowed. My focus will be on lines 45 to 64 for these changes.
Issues #428 #500 #608
PR #610
|
| | | | |\ |
|
| | | | | | |
|
| | | | | | |
|
| | | | |\ \ |
|
| | | | | | | |
|
| | | | |/ / |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- import PIL is the way to import pillow.
- discord-flags isn't being used yet.
- Fixed some of the linting issues.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Original source: https://github.com/ryanzec/name-that-color/blob/master/lib/ntc.js#L116-L1681
|
| |/ / / /
| | | |
| | | |
| | | | |
Original source: https://github.com/ryanzec/name-that-color/blob/master/lib/ntc.js#L116-L1681
|
| | | | |
| | | |
| | | |
| | | | |
Co-authored-by: Mohammad Rafivulla <[email protected]>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is a large empty file with lots of comments. My general proposal
is outlined in the code stumps. Details will need to be hashed out and
decided on with CyberCitizen01.
In particular:
- How to use URLs that has list of color names? Read those into a
dictionary?
- How to handle the command call with options? `discord-flags`,
parsing, function call like:
.colour cmyk(49, 50, 0, 22)
.colour hsl(241, 47, 58)
.colour rgb 101 99 199
- How to implement fuzzy matching with rapidfuzz based on the color
names from those URLs?
- How to generate colors in other formats? Is this all possible in
pillow?
- How to generate photo to use in the embed? Do we temporarily create a
file in a cache, send it in embed, then delete?
This will be a fun project, and my first collab!
Co-authored-by: Mohammad Rafivulla
<[email protected]>
|
| |/ / / |
|
| |\ \ \
| | | |
| | | | |
Fix android codeblock rendering inconsistency
|
| | |\ \ \
| |/ / /
|/| | | |
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
* Fix type annotations
Co-authored-by: decorator-factory <[email protected]>
|
| | |\ \ \ \
| |/ / / /
|/| | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
python-discord/Use-permissions_for-over-permissions_in
Use permissions_for over permissions_in
|
| |/ / / / /
| | | | |
| | | | |
| | | | | |
`discord.Member.permissions_in()` was removed in d.py 2.0 in favour of using `discord.Channel.permissions_for()` everywhere.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| |/ / / / |
|
| | | | | |
|
| |/ / / |
|
| |\ \ \
| |_|/
|/| | |
Migrate to Discord 2.0a0
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
This is just a QoL of life thing, avoiding having us to check if the bot is here or not before issuing a command
Co-authored-by: ChrisJL <[email protected]>
|
| | | |
| | |
| | |
| | | |
Since it is the only way to add bots to threads, it would make sense to be able to execute that command.
|
| |/ /
| |
| |
| |
| |
| | |
Since the Discord.py repository has been archived, we can switch to the latest commit of 2.0a0, knowing no breaking change will occur (still pinned to the commit just in case).
This commit also solves two small problems due to that fix, the avatar interface changing and Embed.name disappearing. Quite a painless migration.
|
| |\ \
| | |
| | | |
Only send articles to user - Closes Issue#828
|
| | | | |
|
| | | |
| | |
| | | |
Co-authored-by: wookie184 <[email protected]>
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| | |
Added the "kind": "article" parameter to the API request. This should
only return articles to the user instead of courses, lessons
or quizzes.
Also updated the "Here are the top x results" message to handle a
variable amount of articles.
[Ticket: python-discord#828]
|
| |\ \
| | |
| | | |
Add coinflip command
|
| | |\ \
| |/ /
|/| | |
|
| |\ \ \
| | | |
| | | | |
Escape markdown properly in post body to fix rendering on android
|
| | |\ \ \
| |/ / /
|/| | | |
|