Skip to content

Commit

Permalink
Merge pull request #356 from ChunkLightTuna/patch-1
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
Lulalaby authored Jul 31, 2023
2 parents 1d0fca7 + 4bb8a6d commit f9c6815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/interactions/ui-components/buttons.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ if you are trying to create a self-role system with buttons, for example. This i

Persistent views work forever. When the bot goes offline, the buttons will stop working. When the bot comes back online, however, the buttons will start working again.

In a Persistent View, the timeout must be set to `None` and all the children in the view much have a `custom_id` attribute set.
In a Persistent View, the timeout must be set to `None` and all the children in the view must have a `custom_id` attribute set.

```python
@bot.event
Expand Down

0 comments on commit f9c6815

Please sign in to comment.