diff --git a/code-samples/interactions/modals/create-tag.py b/code-samples/interactions/modals/create-tag.py index 8ceca1f3..18c24b32 100644 --- a/code-samples/interactions/modals/create-tag.py +++ b/code-samples/interactions/modals/create-tag.py @@ -24,11 +24,7 @@ def __init__(self): style=TextInputStyle.paragraph, ), ] - super().__init__( - title="Create Tag", - custom_id="create_tag", - components=components, - ) + super().__init__(title="Create Tag", components=components) # The callback received when the user input is completed. async def callback(self, inter: disnake.ModalInteraction): diff --git a/guide/docs/interactions/modals.mdx b/guide/docs/interactions/modals.mdx index e5479fe4..a3dc2e8e 100644 --- a/guide/docs/interactions/modals.mdx +++ b/guide/docs/interactions/modals.mdx @@ -65,11 +65,7 @@ class MyModal(disnake.ui.Modal): style=TextInputStyle.paragraph, ), ] - super().__init__( - title="Create Tag", - custom_id="create_tag", - components=components, - ) + super().__init__(title="Create Tag", components=components) # The callback received when the user input is completed. async def callback(self, inter: disnake.ModalInteraction):