mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 12:18:59 +00:00
Fix modal docs code block warning
This commit is contained in:
parent
e3de172ba9
commit
87415ab5a7
@ -58,11 +58,12 @@ class Modal(View):
|
|||||||
This object must be inherited to create a modal popup window within discord.
|
This object must be inherited to create a modal popup window within discord.
|
||||||
|
|
||||||
.. versionadded:: 2.0
|
.. versionadded:: 2.0
|
||||||
|
|
||||||
Examples
|
Examples
|
||||||
----------
|
----------
|
||||||
|
|
||||||
.. code-block:: python3
|
.. code-block:: python3
|
||||||
|
|
||||||
from discord import ui
|
from discord import ui
|
||||||
|
|
||||||
class Questionnaire(ui.Modal, title='Questionnaire Response'):
|
class Questionnaire(ui.Modal, title='Questionnaire Response'):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user