From 4bb8a6de59e2b5d0f7c5a55d2847abfcc84b232f Mon Sep 17 00:00:00 2001 From: Chris Oelerich Date: Mon, 31 Jul 2023 00:21:50 -0500 Subject: [PATCH] Fix type Signed-off-by: Chris Oelerich --- docs/interactions/ui-components/buttons.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/interactions/ui-components/buttons.mdx b/docs/interactions/ui-components/buttons.mdx index a901de9b..1c41ace8 100644 --- a/docs/interactions/ui-components/buttons.mdx +++ b/docs/interactions/ui-components/buttons.mdx @@ -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