From 9717317c780d00b65354b59f9397f98513dfc5dc Mon Sep 17 00:00:00 2001 From: Murtada Altarouti <63660298+maltarouti@users.noreply.github.com> Date: Sat, 13 May 2023 21:16:52 +0300 Subject: [PATCH] Add missing import to modal example --- discord/ui/modal.py | 1 + 1 file changed, 1 insertion(+) diff --git a/discord/ui/modal.py b/discord/ui/modal.py index 615930d5c..b26fa9335 100644 --- a/discord/ui/modal.py +++ b/discord/ui/modal.py @@ -64,6 +64,7 @@ class Modal(View): .. code-block:: python3 + import discord from discord import ui class Questionnaire(ui.Modal, title='Questionnaire Response'):