Skip to content

Commit a407101

Browse files
committed
Merge branch 'main' into production
2 parents 7aaa777 + 49f3071 commit a407101

File tree

13 files changed

+378
-298
lines changed

13 files changed

+378
-298
lines changed

.github/FUNDING.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 35 deletions
This file was deleted.
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: Bug Report
2+
description: Report broken or incorrect behaviour
3+
labels: unconfirmed bug
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: >
8+
Thanks for taking the time to fill out a bug. If you want real-time support,
9+
consider joining our Discord at https://pycord.dev/discord instead.
10+
11+
Please note that this form is for bugs only!
12+
- type: input
13+
attributes:
14+
label: Summary
15+
description: A simple summary of your bug report
16+
validations:
17+
required: true
18+
- type: textarea
19+
attributes:
20+
label: Reproduction Steps
21+
description: >
22+
What you did to make it happen.
23+
validations:
24+
required: true
25+
- type: textarea
26+
attributes:
27+
label: Expected Results
28+
description: >
29+
What did you expect to happen?
30+
validations:
31+
required: true
32+
- type: textarea
33+
attributes:
34+
label: Actual Results
35+
description: >
36+
What actually happened?
37+
validations:
38+
required: true
39+
- type: textarea
40+
attributes:
41+
label: System Information
42+
description: Browser / Device information, if applicable.
43+
validations:
44+
required: false
45+
- type: checkboxes
46+
attributes:
47+
label: Checklist
48+
description: >
49+
Let's make sure you've properly done due diligence when reporting this issue!
50+
options:
51+
- label: I have searched the open issues for duplicates.
52+
required: true
53+
- type: textarea
54+
attributes:
55+
label: Additional Context
56+
description: If there is anything else to say, please do so here.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Discord Server
4+
about: Use our official Discord server to ask for help and questions as well.
5+
url: https://pycord.dev/discord

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 20 deletions
This file was deleted.
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Feature Request
2+
description: Suggest a feature for this guide
3+
labels: feature request
4+
body:
5+
- type: input
6+
attributes:
7+
label: Summary
8+
description: >
9+
A short summary of what your feature request is.
10+
validations:
11+
required: true
12+
- type: textarea
13+
attributes:
14+
label: The Problem
15+
description: >
16+
What problem is your feature trying to solve? What becomes easier or possible
17+
when this feature is implemented?
18+
validations:
19+
required: true
20+
- type: textarea
21+
attributes:
22+
label: The Ideal Solution
23+
description: >
24+
What is your ideal solution to the problem? What would you like this feature to
25+
do?
26+
validations:
27+
required: true
28+
- type: textarea
29+
attributes:
30+
label: The Current Solution
31+
description: >
32+
What is the current solution to the problem, if any?
33+
validations:
34+
required: false
35+
- type: textarea
36+
attributes:
37+
label: Additional Context
38+
description: If there is anything else to say, please do so here.

.github/SECURITY.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Security Policy
2+
3+
## Reporting a Vulnerability
4+
5+
If you find a vulnerability you have two ways to report it:
6+
7+
- Write a dm to one of our core developers on https://pycord.dev/discord
8+
- Write an email to [email protected]
Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
# Contributing to Pycord Guide
2-
3-
First of all, thank you for contributing. Contributions help keep the guide up-to-date and make the guide better. Contributions are always welcome.
4-
5-
The following is a set of guidelines for contributing to the guide. These are guidelines, not hard rules.
6-
7-
## Submitting a Pull Request
8-
9-
1. Make sure you are up to date with the latest changes. It is recommended you pull the latest changes from the master branch before working on your own.
10-
2. Make sure to test your changes before submitting a pull request.
11-
3. In the guide, make sure to explain everything in a way that is easy to understand. If it's an advanced guide that required some expertise, explain that in a note admonition.
12-
4. Make sure you follow proper grammar and spelling.
13-
5. Try to follow the guide's style.
14-
6. Try to follow git conventions. If you are not familiar with git, you can find a good tutorial [here](https://www.conventionalcommits.org/en/v1.0.0/).
15-
16-
### Licensing
17-
18-
By submitting a pull request, you agree:
19-
20-
1. That you are submitting your own work. You hold the copyright to your work.
21-
2. To transfer your copyright to the guide.
22-
3. To license your contribution under the MIT License.
23-
4. 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.
1+
# Contributing to Pycord Guide
2+
3+
First of all, thank you for contributing. Contributions help keep the guide up-to-date and make the guide better. Contributions are always welcome.
4+
5+
The following is a set of guidelines for contributing to the guide. These are guidelines, not hard rules.
6+
7+
## Submitting a Pull Request
8+
9+
1. Make sure you are up to date with the latest changes. It is recommended you pull the latest changes from the master branch before working on your own.
10+
2. Make sure to test your changes before submitting a pull request.
11+
3. In the guide, make sure to explain everything in a way that is easy to understand. If it's an advanced guide that required some expertise, explain that in a note admonition.
12+
4. Make sure you follow proper grammar and spelling.
13+
5. Try to follow the guide's style.
14+
6. Try to follow git conventions. If you are not familiar with git, you can find a good tutorial [here](https://www.conventionalcommits.org/en/v1.0.0/).
15+
16+
### Licensing
17+
18+
By submitting a pull request, you agree:
19+
20+
1. That you are submitting your own work. You hold the copyright to your work.
21+
2. To transfer your copyright to the guide.
22+
3. To license your contribution under the MIT License.
23+
4. 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.

SECURITY.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/getting-started/more-features.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ First, you need to ask Discord to send you events. This is done via "Intents". R
2727

2828
Once you understand what intents are, you can enable the events you need, or just use the default ones with `discord.Intents.all()`.
2929

30-
Now that that's done, let's add an event handler for when a user joins the server. We will use the [`on_member_join` event](https://docs.pycord.dev/en/stable/api.html#discord.on_member_join). We will send a private message to the user welcoming them to the server.
30+
Now that that's done, let's add an event handler for when a user joins the server. We will use the [`on_member_join` event](https://docs.pycord.dev/en/stable/api/events.html#discord.on_member_join). We will send a private message to the user welcoming them to the server.
3131

3232
```python
3333
@bot.event
@@ -37,9 +37,9 @@ async def on_member_join(member):
3737
)
3838
```
3939

40-
We use the [`discord.Bot.event` decorator](https://docs.pycord.dev/en/stable/api.html#discord.Bot.event) to add the event handler.
40+
We use the [`discord.Bot.event` decorator](https://docs.pycord.dev/en/stable/api/clients.html#discord.Bot.event) to add the event handler.
4141

42-
The `on_member_join` event is called when a user joins the server. The `member` parameter is the user that joined. Different events have different names and parameters. You can find all of them [here](https://docs.pycord.dev/en/stable/api.html#discord.Intents).
42+
The `on_member_join` event is called when a user joins the server. The `member` parameter is the user that joined. Different events have different names and parameters. You can find all of them [here](https://docs.pycord.dev/en/stable/api/data_classes.html#discord.Intents).
4343

4444
So, that's how you add event handlers!
4545

0 commit comments

Comments
 (0)