Skip to content

Commit ee84a90

Browse files
authored
feat: Add user and message context menu command (#91)
* feat: Added two context menu commands * chore: Updated version in the various files
1 parent d433e7e commit ee84a90

14 files changed

+178
-137
lines changed

Diff for: .github/FUNDING.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ community_bridge: # Replace with a single Community Bridge project-name e.g., cl
99
liberapay: # Replace with a single Liberapay username
1010
issuehunt: # Replace with a single IssueHunt username
1111
otechie: # Replace with a single Otechie username
12-
custom: ['https://buymeacoffee.com/kkrypt0nn'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
12+
custom: ["https://buymeacoffee.com/kkrypt0nn"] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

Diff for: .github/ISSUE_TEMPLATE/bug_report.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
---
22
name: Bug report
33
about: Create a report to help improve the template
4-
title: ''
5-
labels: ''
6-
assignees: ''
7-
4+
title: ""
5+
labels: ""
6+
assignees: ""
87
---
98

109
**Describe the bug**
1110
A clear and concise description of what the bug is.
1211

1312
**To Reproduce**
1413
Steps to reproduce the behavior:
14+
1515
1. Given the following code ...
1616
2. Using the following command '...'
1717
3. Given the following arguments '...'
@@ -27,4 +27,4 @@ If applicable, add screenshots to help explain your problem.
2727
The version of the template that you are using.
2828

2929
**Additional context**
30-
Add any other context about the problem here.
30+
Add any other context about the problem here.

Diff for: .github/ISSUE_TEMPLATE/feature_request.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
22
name: Feature request
33
about: Suggest an idea for the template
4-
title: ''
5-
labels: ''
6-
assignees: ''
7-
4+
title: ""
5+
labels: ""
6+
assignees: ""
87
---
98

109
**Is your feature request related to a problem? Please describe.**
@@ -17,4 +16,4 @@ A clear and concise description of what you want to happen.
1716
A clear and concise description of any alternative solutions or features you've considered.
1817

1918
**Additional context**
20-
Add any other context or screenshots about the feature request here.
19+
Add any other context or screenshots about the feature request here.

Diff for: CODE_OF_CONDUCT.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,23 @@ diverse, inclusive, and healthy community.
1717
Examples of behavior that contributes to a positive environment for our
1818
community include:
1919

20-
* Demonstrating empathy and kindness toward other people
21-
* Being respectful of differing opinions, viewpoints, and experiences
22-
* Giving and gracefully accepting constructive feedback
23-
* Accepting responsibility and apologizing to those affected by our mistakes,
20+
- Demonstrating empathy and kindness toward other people
21+
- Being respectful of differing opinions, viewpoints, and experiences
22+
- Giving and gracefully accepting constructive feedback
23+
- Accepting responsibility and apologizing to those affected by our mistakes,
2424
and learning from the experience
25-
* Focusing on what is best not just for us as individuals, but for the
25+
- Focusing on what is best not just for us as individuals, but for the
2626
overall community
2727

2828
Examples of unacceptable behavior include:
2929

30-
* The use of sexualized language or imagery, and sexual attention or
30+
- The use of sexualized language or imagery, and sexual attention or
3131
advances of any kind
32-
* Trolling, insulting or derogatory comments, and personal or political attacks
33-
* Public or private harassment
34-
* Publishing others' private information, such as a physical or email
32+
- Trolling, insulting or derogatory comments, and personal or political attacks
33+
- Public or private harassment
34+
- Publishing others' private information, such as a physical or email
3535
address, without their explicit permission
36-
* Other conduct which could reasonably be considered inappropriate in a
36+
- Other conduct which could reasonably be considered inappropriate in a
3737
professional setting
3838

3939
## Enforcement Responsibilities
@@ -106,7 +106,7 @@ Violating these terms may lead to a permanent ban.
106106
### 4. Permanent Ban
107107

108108
**Community Impact**: Demonstrating a pattern of violation of community
109-
standards, including sustained inappropriate behavior, harassment of an
109+
standards, including sustained inappropriate behavior, harassment of an
110110
individual, or aggression toward or disparagement of classes of individuals.
111111

112112
**Consequence**: A permanent ban from any sort of public interaction within
@@ -125,4 +125,4 @@ enforcement ladder](https://github.com/mozilla/diversity).
125125

126126
For answers to common questions about this code of conduct, see the FAQ at
127127
https://www.contributor-covenant.org/faq. Translations are available at
128-
https://www.contributor-covenant.org/translations.
128+
https://www.contributor-covenant.org/translations.

Diff for: README.md

+15-15
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ discord.py works and to make your own bot easily.
2121

2222
If you plan to use this template to make your own template or bot, you **have to**:
2323

24-
- Keep the credits, and a link to this repository in all the files that contains my code
25-
- Keep the same license for unchanged code
24+
- Keep the credits, and a link to this repository in all the files that contains my code
25+
- Keep the same license for unchanged code
2626

2727
See [the license file](https://github.com/kkrypt0nn/Python-Discord-Bot-Template/blob/master/LICENSE.md) for more
2828
information, I reserve the right to take down any repository that does not meet these requirements.
@@ -60,16 +60,16 @@ repository based on this template.
6060

6161
Alternatively you can do the following:
6262

63-
- Clone/Download the repository
64-
- To clone it and get the updates you can definitely use the command
65-
`git clone`
66-
- Create a discord bot [here](https://discord.com/developers/applications)
67-
- Get your bot token
68-
- Invite your bot on servers using the following invite:
69-
https://discord.com/oauth2/authorize?&client_id=YOUR_APPLICATION_ID_HERE&scope=bot+applications.commands&permissions=PERMISSIONS (
70-
Replace `YOUR_APPLICATION_ID_HERE` with the application ID and replace `PERMISSIONS` with the required permissions
71-
your bot needs that it can be get at the bottom of a this
72-
page https://discord.com/developers/applications/YOUR_APPLICATION_ID_HERE/bot)
63+
- Clone/Download the repository
64+
- To clone it and get the updates you can definitely use the command
65+
`git clone`
66+
- Create a discord bot [here](https://discord.com/developers/applications)
67+
- Get your bot token
68+
- Invite your bot on servers using the following invite:
69+
https://discord.com/oauth2/authorize?&client_id=YOUR_APPLICATION_ID_HERE&scope=bot+applications.commands&permissions=PERMISSIONS (
70+
Replace `YOUR_APPLICATION_ID_HERE` with the application ID and replace `PERMISSIONS` with the required permissions
71+
your bot needs that it can be get at the bottom of a this
72+
page https://discord.com/developers/applications/YOUR_APPLICATION_ID_HERE/bot)
7373

7474
## How to set up
7575

@@ -117,8 +117,8 @@ python bot.py
117117

118118
If you have any issues or questions of how to code a specific command, you can:
119119

120-
- Join my discord server [here](https://discord.gg/mTBrXyWxAF)
121-
- Post them [here](https://github.com/kkrypt0nn/Python-Discord-Bot-Template/issues)
120+
- Join my discord server [here](https://discord.gg/mTBrXyWxAF)
121+
- Post them [here](https://github.com/kkrypt0nn/Python-Discord-Bot-Template/issues)
122122

123123
Me or other people will take their time to answer and help you.
124124

@@ -129,7 +129,7 @@ the [tags on this repository](https://github.com/kkrypt0nn/Python-Discord-Bot-Te
129129

130130
## Built With
131131

132-
- [Python 3.11.5](https://www.python.org/)
132+
- [Python 3.11.5](https://www.python.org/)
133133

134134
## License
135135

0 commit comments

Comments
 (0)