Skip to content

Commit 02c2204

Browse files
style(pre-commit): auto fixes from pre-commit.com hooks
1 parent 25c657c commit 02c2204

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

examples/modal_dialogs.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ async def modal_user(ctx: discord.ApplicationContext, member: discord.Member):
8383
async def modaltest(ctx: commands.Context):
8484
"""Shows an example of modals being invoked from an interaction component (e.g. a button or select menu)"""
8585

86-
8786
class MyView(discord.ui.View):
8887
@discord.ui.button(label="Modal Test", style=discord.ButtonStyle.primary)
8988
async def button_callback(
@@ -112,7 +111,6 @@ async def select_callback(
112111
modal.title = select.values[0]
113112
await interaction.response.send_modal(modal)
114113

115-
116114
view = MyView()
117115
await ctx.send("Click Button, Receive Modal", view=view)
118116

0 commit comments

Comments
 (0)