Skip to content

Commit 4843e8f

Browse files
committed
docs: tweak
1 parent 4199257 commit 4843e8f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/guide/buttons/files.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Creating Buttons
22

3-
`Button` files contain a button handler. They aren't responsible for adding buttons to messages but are a way of running code when the buttons you made are pressed.
3+
`Button` files contain a **button handler**. They aren't responsible for adding buttons to messages but are a way of running code when the buttons you made are pressed.
44

55
```js
66
import { button } from 'jellycommands';
@@ -16,6 +16,10 @@ export default button({
1616

1717
[You can view a list of all the button options here](/api/buttons#options)
1818

19+
:::tip TIP
20+
If you are unsure how to add buttons to messages, checkout the [Discord.js Guide](https://discordjs.guide/interactions/buttons.html)
21+
:::
22+
1923
## Button `id`
2024

2125
The `id` field on the button is important, it can be a `string`, `regexp`, or a function. The `id` field corresponds to the `customId` feild you set when you create a button.

0 commit comments

Comments
 (0)