Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
398 commits
Select commit Hold shift + click to select a range
55883c6
Fix Capitalization
VincentRPS Dec 8, 2021
3743bb1
Fix Capitalization
VincentRPS Dec 8, 2021
1bcdb18
Remove Image Load
VincentRPS Dec 8, 2021
a988c9f
Typo
VincentRPS Dec 8, 2021
c89997e
Adding Tips To Guide
VincentRPS Dec 8, 2021
07881bf
Document CMD Prompt Stuff
VincentRPS Dec 8, 2021
9f2cc5e
Looks Better
VincentRPS Dec 8, 2021
45c52de
Merge pull request #507 from Pycord-Development/actx-attributes
Lulalaby Dec 8, 2021
5e2a9b3
Change if isinstance logic to elif
OmLanke Dec 8, 2021
8a7b57b
Merge pull request #551 from MasterBaiter123/patch-1
Dorukyum Dec 9, 2021
196f5a2
Fix broken link in CONTRIBUTING.md
pythonmcpi Dec 10, 2021
1029b9f
Fix
VincentRPS Dec 10, 2021
d549db6
Fix
VincentRPS Dec 12, 2021
1637037
Merge pull request #554 from pythonmcpi/patch-1
Lulalaby Dec 12, 2021
a1818f5
Add missing cast import from typing library
spslater Dec 12, 2021
1ba9ff4
make this easier to see
VincentRPS Dec 13, 2021
9ac90f6
wut
VincentRPS Dec 13, 2021
8e17f4a
Update Discord Link
niklasmoell Dec 13, 2021
fdcd630
Update discord link
niklasmoell Dec 13, 2021
125db3a
Merge pull request #563 from SimsumMC/patch-1
Dorukyum Dec 14, 2021
6646129
Merge pull request #462 from Pycord-Development/groups
Lulalaby Dec 15, 2021
b0f857c
once again adding
VincentRPS Dec 15, 2021
b1d9235
Merge pull request #569 from pycord/shield
Lulalaby Dec 15, 2021
faeaa15
Fix memory issues with webhooks. (#570)
izxxr Dec 15, 2021
e42998e
Fix for #571
krittick Dec 15, 2021
d4f5576
Merge pull request #572 from krittick/master
Lulalaby Dec 15, 2021
0ccbeee
[wip] partial fix for slash groups example (#574)
krittick Dec 16, 2021
1f60568
potential fix for second part of slash groups example
krittick Dec 16, 2021
824a5c6
Revert "potential fix for second part of slash groups example"
krittick Dec 16, 2021
8aa40ff
Use kwargs when copying group
Dorukyum Dec 17, 2021
ab50202
Compatibility with OptionChoices in autocomplete
Vioshim Dec 18, 2021
460a8ad
Documentation changes
Vioshim Dec 18, 2021
d6cdbaa
Fixed typos
Vioshim Dec 18, 2021
83655a5
Merge pull request #441 from BobDotCom/timeout
Lulalaby Dec 18, 2021
d90d1ea
Fix timeout permission
Lulalaby Dec 18, 2021
4dedcf2
Merge pull request #583 from Pycord-Development/fix-perms
Lulalaby Dec 18, 2021
14ec7c0
Merge branch 'Pycord-Development:master' into master
krittick Dec 18, 2021
1876f13
Merge pull request #576 from krittick/master
Lulalaby Dec 19, 2021
e6b49ae
removing tuple usage
Vioshim Dec 19, 2021
b1b9948
removing tuple usage
Vioshim Dec 19, 2021
031b964
Merge pull request #577 from Pycord-Development/groups-fix
Lulalaby Dec 19, 2021
c25e2a2
Merge pull request #398 from Apocryphon-X/master
Lulalaby Dec 19, 2021
8161ab9
Merge pull request #561 from spslater/master
Lulalaby Dec 19, 2021
3d04a71
Add ext.menus pagination module (#539)
krittick Dec 19, 2021
d9a532e
docs fixes, `message` attribute fix
krittick Dec 19, 2021
1a114e5
Update feature_request.yml
Lulalaby Dec 20, 2021
25b5b3c
Update ext.menus docs
Dorukyum Dec 20, 2021
b8c225a
Merge pull request #591 from Pycord-Development/Lulalaby-patch-1
Lulalaby Dec 20, 2021
3ee1561
Documentation and return value fixes
Dorukyum Dec 20, 2021
849c57e
Remove duplicate bot methods
Dorukyum Dec 20, 2021
00526f7
Move is_owner
Dorukyum Dec 20, 2021
da8d82c
Better check for get_commands
Dorukyum Dec 20, 2021
6e1ab8e
Merge branch 'Pycord-Development:master' into ext-menus
krittick Dec 20, 2021
3db4e11
Make commands.Bot inherit from CogMixin
Dorukyum Dec 20, 2021
2ed45f7
docs fixes, rename module to ext.pages
krittick Dec 20, 2021
a9a7d38
update feature request template for ext.pages
krittick Dec 20, 2021
230dd1e
fix missing example rename
krittick Dec 20, 2021
dec0676
Merge pull request #589 from krittick/ext-menus
Dorukyum Dec 20, 2021
e517ae1
changed discord.ext.menus to discord.ext.pages
Dec 20, 2021
1d65214
Merge pull request #596 from Blackcool70/patch-1
Lulalaby Dec 20, 2021
75d4d10
Update conf.py
plun1331 Dec 20, 2021
12448b7
Update pagination.py
plun1331 Dec 20, 2021
019b3e6
Update pagination.py
plun1331 Dec 20, 2021
f089337
Update pagination.py
plun1331 Dec 20, 2021
5ceb532
Bump sphinx from 4.3.1 to 4.3.2
dependabot[bot] Dec 20, 2021
a89fd9a
added delay on interaction del msgs
Makiyu-py Dec 21, 2021
c3f2de9
utilize new utils.delay_task func on Message.delete
Makiyu-py Dec 21, 2021
b125ee0
added `delete_after` param to interaction message edits
Makiyu-py Dec 21, 2021
9f6dab1
Update abc.py
Sengolda Dec 21, 2021
61d8c44
fix for ext.pages rename in index.rst
krittick Dec 21, 2021
78f5608
Add Member.timed_out property
SlimShadyIAm Dec 21, 2021
8c9bada
Update discord/ext/pages/pagination.py
Lulalaby Dec 21, 2021
5ae9569
Merge pull request #598 from plun1331/patch-6
Lulalaby Dec 21, 2021
79883bd
Merge pull request #602 from krittick/master
Lulalaby Dec 21, 2021
ea6b981
Update menu to pages in example
hypergonial Dec 21, 2021
c8c2b1e
Merge pull request #604 from HyperGH/patch-1
Lulalaby Dec 21, 2021
754e276
Fix moderate_members
Soheab Dec 21, 2021
801dfeb
Merge pull request #597 from Pycord-Development/dependabot/pip/sphinx…
BobDotCom Dec 21, 2021
dad9021
Merge pull request #607 from Soheab/fix/permissions
Lulalaby Dec 21, 2021
0fe9b0a
Merge pull request #603 from SlimShadyIAm/master
Lulalaby Dec 22, 2021
f9830a4
Update member.py
Dec 22, 2021
7ab9ccd
Merge pull request #610 from rtk-rnjn/master
Dorukyum Dec 22, 2021
7353452
Merge pull request #601 from Sengolda/patch-8
Lulalaby Dec 22, 2021
f43f405
Merge pull request #609 from QiCuiHub/master
Lulalaby Dec 22, 2021
fc195fe
fix scope
Lulalaby Dec 22, 2021
f764526
Add timeout example
Dorukyum Dec 22, 2021
03066b7
Update client.py
Sengolda Dec 22, 2021
a927d31
Add locale and guild locale
Lulalaby Dec 22, 2021
47c5943
Add alias use_application_commands for slash
Lulalaby Dec 22, 2021
9043abe
Fix small mistake in doc
Sengolda Dec 22, 2021
c2729b8
Merge pull request #612 from Pycord-Development/scope-fix
Lulalaby Dec 22, 2021
7c04df3
Merge pull request #614 from Pycord-Development/add-locales
Lulalaby Dec 22, 2021
82e836b
Merge pull request #615 from Sengolda/patch-10
Middledot Dec 22, 2021
58cad18
Merge pull request #616 from Pycord-Development/perm-alias
Lulalaby Dec 22, 2021
52f9c98
Merge pull request #594 from Pycord-Development/fix-duplicates
Lulalaby Dec 22, 2021
ca1a76c
Merge pull request #547 from VincentRPS/patch-1
Lulalaby Dec 22, 2021
fbdccbb
Add a timeout_for method
BobDotCom Dec 22, 2021
fe45f61
Add commands.Cog.get_commands
Dorukyum Dec 22, 2021
3b72e9a
Revert "Making A CODEOWNERS"
BobDotCom Dec 22, 2021
5a9c67e
Merge pull request #620 from Pycord-Development/revert-547-patch-1
BobDotCom Dec 22, 2021
28efe44
Fix crash caused by locales
unrealintegers Dec 23, 2021
16f9bcb
Merge pull request #623 from unrealintegers/master
Lulalaby Dec 23, 2021
1f26f68
Fix command check
Dorukyum Dec 23, 2021
47c024b
Use timezone-aware time
Dorukyum Dec 23, 2021
efeba22
Remove discord.Bot.debug_guild
hypergonial Dec 23, 2021
4cd2efb
Actually remove debug_guild
hypergonial Dec 23, 2021
af4a096
Merge pull request #627 from HyperGH/patch-2
Lulalaby Dec 23, 2021
c83fb4f
push
Soheab Dec 23, 2021
4d9774e
let's not
Soheab Dec 23, 2021
d92a5fb
Make `guild.audit_logs(limit)` parameter optional
r-hensley Dec 24, 2021
696d617
Global commands upserted only if it differs
PenguinDevs Dec 24, 2021
4dfe451
Merge branch 'master' of https://github.com/Pycord-Development/pycord…
VincentRPS Dec 24, 2021
23c2b36
missing registered command fix
PenguinDevs Dec 24, 2021
863c619
missing needs_bulk = True for deleted commands
PenguinDevs Dec 24, 2021
73d0728
Update discord/asset.py
BobDotCom Dec 24, 2021
7b28e29
Merge pull request #628 from Soheab/animated_guild_banner
BobDotCom Dec 24, 2021
ca7ec23
Fix double spaces
ChickenDevs Dec 24, 2021
ad69c24
Merge pull request #619 from BobDotCom/timeout-for
Lulalaby Dec 24, 2021
f5c3e60
Merge pull request #621 from Pycord-Development/fix-get_commands
BobDotCom Dec 24, 2021
893f476
BobDotCom requested changes
PenguinDevs Dec 25, 2021
55933be
Removed random space
PenguinDevs Dec 25, 2021
9e646c6
Fix timezone-awareness
Dorukyum Dec 25, 2021
2f2b225
added autocomplete for registering global commands
PenguinDevs Dec 25, 2021
9183f8b
Merge branch 'global-slash-commands' of https://github.com/PenguinDev…
PenguinDevs Dec 25, 2021
025d772
Merge pull request #600 from Makiyu-py/566-impl
Lulalaby Dec 25, 2021
7211b29
Add a note about using ctx.respond
hypergonial Dec 25, 2021
69f6563
Clarify wording
hypergonial Dec 25, 2021
c9fc04c
Add timeout notice
hypergonial Dec 25, 2021
1db64bc
Fix guild avatars not working
hypergonial Dec 26, 2021
1b325e9
Remove import from TYPE_CHECKING
hypergonial Dec 26, 2021
f215f71
Use `Member.timeout_for`
Dorukyum Dec 26, 2021
c55b7b0
Separate respond() and followup()
hypergonial Dec 26, 2021
87ad51f
Merge pull request #644 from HyperGH/patch-5
Lulalaby Dec 26, 2021
74d460a
Fix class name
hypergonial Dec 26, 2021
570d5fe
Revert rename of followup attribute
hypergonial Dec 26, 2021
b807cf1
Rename followup() to send_followup()
hypergonial Dec 26, 2021
6c5f7db
Fix class name again
hypergonial Dec 26, 2021
2ac8bdf
Fix f-string
hypergonial Dec 26, 2021
c89469c
Fix error message string
hypergonial Dec 26, 2021
0c1f30c
Fix converters
Dorukyum Dec 26, 2021
701c7a6
Add send_response
hypergonial Dec 26, 2021
42d2ae4
Update discord/commands/context.py
hypergonial Dec 26, 2021
b18324e
Merge pull request #634 from PenguinDevs/global-slash-commands
Lulalaby Dec 26, 2021
1c17e64
Merge pull request #645 from HyperGH/patch-6
BobDotCom Dec 26, 2021
51dd856
Merge pull request #633 from ryry013/patch-1
Lulalaby Dec 27, 2021
faf8fd3
Merge branch 'Pycord-Development:master' into refresh/docs
VincentRPS Dec 27, 2021
ccf21a9
Expand The Guide Way More
VincentRPS Dec 27, 2021
7a668ea
Expand the guide more
VincentRPS Dec 27, 2021
d3939b7
Create German Translations
VincentRPS Dec 27, 2021
93ad905
Fix Translation Error
VincentRPS Dec 27, 2021
d795f10
feat: commit styling guide
VincentRPS Dec 27, 2021
04037d1
Implement ApplicationContext.invoke
Dorukyum Dec 27, 2021
f361834
CONTRIBUTING: Expand Style Guide More
VincentRPS Dec 27, 2021
8162e50
git: make style guide a checked requirement
VincentRPS Dec 27, 2021
cbd2a7d
typo: didn't put a `:` on the `commands.Bot` type
VincentRPS Dec 27, 2021
c83c24c
refactor: don't duplicate types
VincentRPS Dec 27, 2021
4805420
refactor: make `speedup` to `speed` again
VincentRPS Dec 27, 2021
11a8b16
nit: Adding the `Mega Change` Type
VincentRPS Dec 27, 2021
ce16e03
replace first arg of Paginator.send to be only ctx
Makiyu-py Dec 27, 2021
07750dc
refactor
VincentRPS Dec 27, 2021
31c4aa3
refactor a lot
VincentRPS Dec 27, 2021
6c8eea4
Update docs for Paginator.send's ctx
Makiyu-py Dec 27, 2021
227129e
quick fix
VincentRPS Dec 27, 2021
54a3404
don’t limit the contributor on choices
VincentRPS Dec 28, 2021
b5f2187
revert behavior change to actx.respond, make send_response and send_f…
krittick Dec 28, 2021
b19a745
fix typing for ctx.respond return
krittick Dec 28, 2021
2f0c251
Merge pull request #648 from Dorukyum/fix-converters
BobDotCom Dec 28, 2021
4d254c9
Apply suggestions from code review
Lulalaby Dec 28, 2021
363b94f
Merge pull request #653 from pycord/style-guide
Lulalaby Dec 28, 2021
e401f4c
Add functionality to update `Paginator` (#658)
Snawe Dec 28, 2021
52fdbb1
Merge pull request #652 from Dorukyum/actx.invoke
Dorukyum Dec 28, 2021
e949026
Update utils.py
Vioshim Dec 29, 2021
c3e5b8b
Move `ParamSpec` import into `if TYPE_CHECKING`
Dorukyum Dec 29, 2021
e18099f
Add new `Thread.archive` (#518)
Sengolda Dec 29, 2021
04ec5bf
Merge pull request #654 from Makiyu-py/fix-paginator-send
Dorukyum Dec 29, 2021
cc6d435
Merge pull request #642 from HyperGH/patch-4
Dorukyum Dec 29, 2021
8e5ef7e
Merge pull request #580 from Vioshim/master
Lulalaby Dec 29, 2021
0711ee7
Add slash command example to quickstart (#639)
hypergonial Dec 29, 2021
cf28c9f
Rename Permission to CommandPermission
Dorukyum Dec 29, 2021
7b8a46d
Merge branch 'Pycord-Development:master' into actx-responses
krittick Dec 29, 2021
758ff5f
Merge pull request #659 from Dorukyum/fix-paramspec
Lulalaby Dec 29, 2021
4474a7f
Merge branch 'Pycord-Development:master' into actx-responses
krittick Dec 29, 2021
3c06b46
Update permissions.py
Sengolda Dec 30, 2021
31cd41d
Add permissions support to context menu commands (#631)
krittick Dec 30, 2021
e23ae46
allow Loop.change_interval to be called in before_loop and after_loop…
Makiyu-py Dec 30, 2021
2d100f2
Merge pull request #667 from Sengolda/patch-12
Lulalaby Dec 30, 2021
22a99ee
Merge pull request #656 from krittick/actx-responses
Lulalaby Dec 30, 2021
51d110b
Ability to reload application command callbacks (#647)
Dorukyum Dec 30, 2021
116e666
Revert "Ability to reload application command callbacks (#647)"
Lulalaby Dec 30, 2021
5263a4d
Merge pull request #670 from Pycord-Development/revert-647-reload-app…
Dec 30, 2021
a807e9a
Merge pull request #662 from Dorukyum/commandpermission
Middledot Dec 30, 2021
0283d49
undo translations
VincentRPS Dec 31, 2021
6927707
Fix Permission->CommandPermission rename for ContextMenuCommand (#672)
krittick Dec 31, 2021
6f642c4
Merge pull request #613 from Dorukyum/timeout-example
Lulalaby Jan 1, 2022
3220cec
Add description to Attachments and Files (#509)
plun1331 Jan 1, 2022
67f1e13
Cooldowns and max concurrency for application commands (#674)
Dorukyum Jan 1, 2022
7f239fa
fix for missing self.name and self.description values in SlashCommand…
krittick Jan 1, 2022
4ddf450
Merge pull request #676 from krittick/fix-slash-command-groups
Lulalaby Jan 1, 2022
7ca9d17
Add support for `guild scheduled events` (#211)
Middledot Jan 1, 2022
640c73a
Treating None embeds and views as not having embeds and views in send…
TurqW Jan 1, 2022
d950e44
remove Thread.archiver_id
Makiyu-py Jan 3, 2022
a52f3ca
Merge pull request #688 from Makiyu-py/rm-archiver_id
Dorukyum Jan 3, 2022
3bd5a49
Fix ##\690 (#694)
Middledot Jan 4, 2022
ca31745
Allow using class name as group name
Dorukyum Jan 3, 2022
f9e58a5
Remove SlashCommandGroup relation with Option
Dorukyum Jan 3, 2022
99e2312
Remove cooldown checks for SlashCommandGroup
Dorukyum Jan 3, 2022
128a9e9
made qualified_name a property for app cmds
Makiyu-py Jan 4, 2022
a1a1959
Revert "Revert "Ability to reload application command callbacks""
Dorukyum Jan 4, 2022
3ca1189
Merge pull request #700 from Pycord-Development/revert-670-revert-647…
Lulalaby Jan 4, 2022
552dccf
Fix `ApplicationCommand.__eq__`
Dorukyum Jan 4, 2022
c0ea3d8
fix
Vioshim Jan 5, 2022
9aafd03
Merge pull request #705 from Vioshim/master
Lulalaby Jan 5, 2022
588b55f
Document Missing Raw Payload
Middledot Jan 5, 2022
2dab8ad
Merge pull request #709 from Middledot/master
Middledot Jan 5, 2022
cc67de0
Fix event_type being shown as entity_type
Middledot Jan 5, 2022
c602bc4
Merge pull request #710 from Middledot/master
Middledot Jan 5, 2022
3ee18f2
fix #716
Makiyu-py Jan 7, 2022
ef92c70
Merge pull request #718 from Makiyu-py/fix-716
Jan 7, 2022
0346292
Fix #719
Middledot Jan 7, 2022
48b8fb2
Fix #716 and #718
ChickenDevs Jan 7, 2022
58492c8
ext.pages updates/changes (#629)
krittick Jan 7, 2022
2377a74
Add a cooldown example (#677)
Dorukyum Jan 7, 2022
6084448
discord: client: Ignore RuntimeError when calling add_signal_handler(…
SebaUbuntu Jan 7, 2022
7c0eeeb
Update commands.py (#679)
plun1331 Jan 7, 2022
02e346d
add walk cmd iterator on slash groups and on discord.Bot
Makiyu-py Jan 4, 2022
4d34966
Add reason kwarg to Thread.edit method
Ratery Jan 7, 2022
1b17e83
Update pynacl requirement from <1.5,>=1.3.0 to >=1.3.0,<1.6
dependabot[bot] Jan 7, 2022
a0c50d1
Merge pull request #727 from Ratery/master
Lulalaby Jan 8, 2022
2661504
Use data.get for optional guild_id parameter
Dorukyum Jan 8, 2022
98e4b6a
Fix ScheduledEventLocation documentation (#725)
Middledot Jan 8, 2022
18c5391
Rename .location to .value from ScheduledEventLocation
Middledot Jan 8, 2022
7e5781d
Merge pull request #733 from QwireTeam/master
Middledot Jan 8, 2022
61c88db
Fixed missing backtick causing problems
UP929312 Jan 8, 2022
41b690f
Merge pull request #734 from UP929312/patch-2
Lulalaby Jan 8, 2022
72d1b9b
Update StackOverflow tag in CONTRIBUTING.md
Jan 9, 2022
f5617fc
Add git command and warning
Jan 9, 2022
e4f5a04
Should probably include windows users
Jan 9, 2022
19037ce
Automatically set discord.Option.required to False if default is not …
Ratery Jan 9, 2022
ef9b598
fix missing current_page assignment, indicator update in goto_page
krittick Jan 10, 2022
fc5556f
Merge about.md with README.md (#752)
Middledot Jan 10, 2022
cd67be9
fix `update()` example
krittick Jan 11, 2022
8a53b71
Improve 2 lines in CONTRIBUTING.md (#760)
ImNimboss Jan 11, 2022
477bfb6
some progress
VincentRPS Jan 12, 2022
825a8eb
fix typos
VincentRPS Jan 12, 2022
2a8b68e
Merge branch 'master' into refresh/docs
VincentRPS Jan 12, 2022
6898b51
separate branch from bob's fork
VincentRPS Jan 13, 2022
50de3cf
fix
VincentRPS Jan 13, 2022
c6794d4
i forgor
VincentRPS Jan 13, 2022
fb794c5
Merge branch 'trunk/docs' into refresh/docs
VincentRPS Jan 13, 2022
8a0ef98
fix :skull:
VincentRPS Jan 13, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 13 additions & 12 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ The following is a set of guidelines for contributing to the repository. These a

Generally speaking questions are better suited in our resources below.

- The official support server: https://discord.gg/UCXwPR7Pew
- The Discord API server under #python_discord-py: https://discord.gg/discord-api
- [The FAQ in the documentation](https://pycord.readthedocs.io/en/latest/faq.html)
- [StackOverflow's `discord.py` tag](https://stackoverflow.com/questions/tagged/discord.py)
- The official support server: https://pycord.dev/discord
- [The FAQ in the documentation](https://docs.pycord.dev/en/master/faq.html)
- [StackOverflow's `pycord` tag](https://stackoverflow.com/questions/tagged/pycord)

Please try your best not to ask questions in our issue tracker. Most of them don't belong there unless they provide value to a larger audience.

Expand All @@ -26,7 +25,7 @@ Please be aware of the following things when filing bug reports.
- Guidance on **how to reproduce the issue**. Ideally, this should have a small code sample that allows us to run and see the issue for ourselves to debug. **Please make sure that the token is not displayed**. If you cannot provide a code snippet, then let us know what the steps were, how often it happens, etc.
- Tell us **what you expected to happen**. That way we can meet that expectation.
- Tell us **what actually happens**. What ends up happening in reality? It's not helpful to say "it fails" or "it doesn't work". Say *how* it failed, do you get an exception? Does it hang? How are the expectations different from reality?
- Tell us **information about your environment**. What version of discord.py are you using? How was it installed? What operating system are you running on? These are valuable questions and information that we use.
- Tell us **information about your environment**. What version of Pycord are you using? How was it installed? What operating system are you running on? These are valuable questions and information that we use.

If the bug report is missing this information then it'll take us longer to fix the issue. We will probably ask for clarification, and barring that if no response was given then the issue will be closed.

Expand All @@ -43,12 +42,14 @@ deciding to ignore type checking warnings.

By submitting a pull request, you agree that; 1) You hold the copyright on all submitted code inside said pull request; 2) You agree to transfer all rights to the owner of this repository, and; 3) If you are found to be in fault with any of the above, we shall not be held responsible in any way after the pull request has been merged.

### Git Commit Guidelines
## Git Commit Styling

- Use present tense (e.g. "Add feature" not "Added feature")
- Limit all lines to 72 characters or less.
- Reference issues or pull requests outside of the first line.
- Please use the shorthand `#123` and not the full URL.
- Commits regarding the commands extension must be prefixed with `[commands]`
Not following this guideline could lead to your pull being squashed for a cleaner commit history

If you do not meet any of these guidelines, don't fret. Chances are they will be fixed upon rebasing but please do try to meet them to remove some of the workload.
Some style guides we would recommed using in your pulls:

The [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) style is a very widely used style and a good style to start with.

The [gitmoji](https://gitmoji.dev) style guide would make your pull look more lively and different to others.

We don't limit nor deny your pulls when you're using another style although, please make sure it is appropriate and makes sense in this library.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ body:
- The core library
- discord.ext.commands
- discord.ext.tasks
- discord.ext.pages
- The documentation
validations:
required: true
Expand Down
6 changes: 3 additions & 3 deletions .github/SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

| Version | Supported |
| ------- | ------------------ |
| 2.0.0 | :white_check_mark: |
| 1.7.x | :white_check_mark: |
| < 1.7.3 | :x: |
| <2.0.0 | :white_check_mark: |
| 1.7.3 | :x: |
| >1.7.x | :x: |

## Reporting a Vulnerability

Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Docs

on: [push, pull_request]

jobs:
docs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 3.8 ]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install -U pip
pip install -U sphinx sphinxcontrib-trio aiohttp sphinxcontrib-websupport myst-parser
- name: Compile to html
run: |
cd docs
make html
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ docs/crowdin.py
*.mp3
*.m4a
*.wav
*.png
*.jpg
*.flac
*.mo
Expand All @@ -21,3 +20,5 @@ __pycache__
.vs/slnx.sqlite
env/
build/
node_modules/*
test.py
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sphinx:
builder: html

python:
version: 3.8
version: "3.8"
install:
- method: pip
path: .
Expand Down
119 changes: 0 additions & 119 deletions README.ja.rst

This file was deleted.

37 changes: 22 additions & 15 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pycord
==========
Pycord
======

.. image:: https://discord.com/api/guilds/881207955029110855/embed.png
.. image:: https://img.shields.io/discord/881207955029110855?color=blue&label=discord
:target: https://pycord.dev/discord
:alt: Discord server invite
.. image:: https://img.shields.io/pypi/v/py-cord.svg
Expand All @@ -14,15 +14,22 @@ pycord
:target: https://pypi.python.org/pypi/py-cord
:alt: PyPI downloads

A fork of discord.py. PyCord is a modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python.
A fork of discord.py. Pycord is a modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python.

What Happened to Discord.py?
----------------------------
Rapptz, also known as Danny, the maintainer and core developer of discord.py will no longer be updating it. Here's his `Full explanation <https://gist.github.com/Rapptz/4a2f62751b9600a31a0d3c78100287f1>`__ and an `FAQ <https://gist.github.com/Rapptz/4a2f62751b9600a31a0d3c78100287f1#FAQ>`__.


Pycord v1.7.3 is the same as discord.py v1.7.3, however, Pycord v2.0 will support newer features of the API such as slash commands, context menus, scheduled events, timeouts, and others.

Key Features
-------------
------------

- Modern Pythonic API using ``async`` and ``await``.
- Proper rate limit handling.
- Optimised for both speed and memory usage.
- Supports Slash Commands, Context Menus and Message Components.
- Full Application Command Support

Installing
----------
Expand Down Expand Up @@ -69,7 +76,7 @@ To install the development version, do the following:


Optional Packages
~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~

* `PyNaCl <https://pypi.org/project/PyNaCl/>`__ (for voice support)
* `aiodns <https://pypi.org/project/aiodns/>`__, `Brotli <https://pypi.org/project/Brotli/>`__, `cchardet <https://pypi.org/project/cchardet/>`__ (for aiohttp speedup)
Expand All @@ -78,10 +85,10 @@ Optional Packages
Please note that while installing voice support on Linux, you must install the following packages via your preferred package manager (e.g. ``apt``, ``dnf``, etc) BEFORE running the above commands:

* libffi-dev (or ``libffi-devel`` on some systems)
* python-dev (e.g. ``python3.6-dev`` for Python 3.6)
* python-dev (e.g. ``python3.10-dev`` for Python 3.10)

Quick Example
--------------
-------------

.. code:: py

Expand All @@ -100,8 +107,8 @@ Quick Example

bot.run("token")

Normal Commands Example
~~~~~~~~~~~~~
Traditional Commands Example
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code:: py

Expand All @@ -121,9 +128,9 @@ You can find more examples in the examples directory.
Note: Make sure you do not reveal your bot token to anyone, it can grant access to your bot.

Links
------
-----

- `Documentation <https://docs.pycord.dev/en/master/index.html>`_
- `Official Discord Server <https://pycord.dev/discord>`_
- `Discord Developers <https://discord.gg/discord-developers>`_
- `Discord API <https://discord.gg/discord-api>`_
- `Our Official Discord Server <https://pycord.dev/discord>`_
- `Official Discord Developers Server <https://discord.gg/discord-developers>`_
- `Unofficial Discord API Server <https://discord.gg/discord-api>`_
12 changes: 0 additions & 12 deletions about.md

This file was deleted.

1 change: 1 addition & 0 deletions discord/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
from .commands import *
from .cog import Cog
from .welcome_screen import *
from .scheduled_events import ScheduledEvent, ScheduledEventLocation


class VersionInfo(NamedTuple):
Expand Down
2 changes: 1 addition & 1 deletion discord/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def add_newcog_args(subparser: argparse._SubParsersAction) -> None:
parser.add_argument('--full', help='add all special methods as well', action='store_true')

def parse_args() -> Tuple[argparse.ArgumentParser, argparse.Namespace]:
parser = argparse.ArgumentParser(prog='discord', description='Tools for helping with discord.py')
parser = argparse.ArgumentParser(prog='discord', description='Tools for helping with Pycord')
parser.add_argument('-v', '--version', action='store_true', help='shows the library version')
parser.set_defaults(func=core)

Expand Down
Loading