You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/getting-started/more-features.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ So, you just created your first Pycord bot! Now, let's add some more features to
21
21
22
22
### Event Handlers
23
23
24
-
Events in Discord are a way to listen for certain actions. For example, if you want to know when a user joins your server so you could send a welcome message, you can use the `on_member_join` event.
24
+
Events in Discord are a way to listen for certain actions. For example, if you want to know when a user joins your server, so you could send a welcome message, you can use the `on_member_join` event.
25
25
26
26
First, you need to ask Discord to send you events. This is done via "Intents". Read up the [Intents](../Popular-Topics/intents) page for more information.
27
27
@@ -203,7 +203,7 @@ embed.add_field(title="Inline Field 3", value="Inline Field 3", inline=True)
203
203
204
204
This small section shows off embed fields. You can add fields to embeds with the [`add_field` method](https://docs.pycord.dev/en/master/api.html#discord.Embed.add_field)
205
205
of the [`discord.Embed`](https://docs.pycord.dev/en/master/api.html#embed) class. These consist of three
206
-
keyword arguments: `title`, `value`, and `inline`. `title` and `value` are both required arguments, which inline defaults to `False` if it's not defined. The `inline` argument specifies whether or not space will be divided among the inline fields. There could be a mix of fields where inline has different values too.
206
+
keyword arguments: `title`, `value`, and `inline`. `title` and `value` are both required arguments, which inline defaults to `False` if it's not defined. The `inline` argument specifies whether space will be divided among the inline fields. There could be a mix of fields where inline has different values too.
207
207
208
208
```py
209
209
embed.set_footer(text="Footer! No markdown here.") # footers can have icons too
@@ -324,7 +324,7 @@ by using the following syntax:
324
324
Inside the supported elements that have just been mentioned,
325
325
the example above will look like this: [`Pycord`](https://pycord.dev/)
326
326
327
-
Outside of them, the link will still be clickable but the formatting will be ignored,
327
+
Outside them, the link will still be clickable but the formatting will be ignored,
328
328
therefore the example above will look similarly to this: `[Pycord](https://pycord.dev/)`
When you right-click a message, you may see an option called "Apps". Hover over it and you can see
17
+
When you right-click a message, you may see an option called "Apps". Hover over it, and you can see
18
18
commands a bot can run with that message. These are called message commands.
19
19
20
20
When you right-click a user in the user list, you can once again see an option called "Apps".
21
-
Hover over it and you can see commands a bot can run with that message. These are called user commands.
21
+
Hover over it, and you can see commands a bot can run with that message. These are called user commands.
22
22
23
23
Together, these two are called Context Menus or Context Menu Commands. These commands work very much like normal commands, except they take a member or message.
Copy file name to clipboardExpand all lines: docs/interactions/ui-components/buttons.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -288,7 +288,7 @@ No. As a Discord limitation, you can only have one view per message.
288
288
289
289
They cannot be simple like commands. This system makes them flexible and doesn't limit your imagination. There are loads of different ways you can use UI Components. For example, you could subclass Buttons or Select Menus and add them to a view using the view's `add_item` function.
290
290
291
-
UI Components aren't hard to use if you know Python. We recommend learning [ObjectOriented Programming with Python](#oop).
291
+
UI Components aren't hard to use if you know Python. We recommend learning [Object-Oriented Programming with Python](#oop).
292
292
293
293
#### <spanid="oop">What is OOP? What is subclassing?</span>
Finally,wecreateaglobalslashcommandcalled`flavour`thatsendsamessage"Choose a flavor!"alongwiththeview
75
75
thatcontainsourselectmenu.
@@ -281,7 +281,7 @@ No. As a Discord limitation, you can only have one view per message.
281
281
282
282
They cannot be simple like commands. This system makes them flexible and doesn't limit your imagination. There are loads of different ways you can use UI Components. For example, you could subclass Buttons or Select Menus and add them to a view using the view's `add_item` function.
283
283
284
-
UI Components aren't hard to use if you know Python. We recommend learning [ObjectOriented Programming with Python](#oop).
284
+
UI Components aren't hard to use if you know Python. We recommend learning [Object-Oriented Programming with Python](#oop).
285
285
286
286
#### <eid="oop">What is OOP? What is subclassing?</e>
Copy file name to clipboardExpand all lines: docs/introduction.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ Here are some good resources to get started or to freshen up your Python knowled
41
41
42
42
First of all, we would like to thank [Rapptz](https://github.com/Rapptz) for the original [discord.py](https://pypi.org/project/discord.py) library. Pycord is a maintained fork of this library.
43
43
44
-
We would also like to thank the [discord.js guide](https://discordjs.guide), which inspired this guide style-wise, and the [original Pycord Guide](https://namantech.me/pycord), which inspired some of the content in this guide.
44
+
We would also like to thank the [discord.js guide](https://discordjs.guide), which inspired this guide style-wise, and the [original Pycord Guide](https://namantech.me/pycord), which inspired some content in this guide.
45
45
46
46
We created this guide using [Docusaurus v2](https://docusaurus.io), a modern static site generator for React. We would also like to thank Danktuary for his [`@discord-message-components/react`](https://www.npmjs.com/package/@discord-message-components/react) package, from which we took the Discord message components.
0 commit comments