mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 10:22:59 +00:00
Reformat entire project with ruff instead of black
This commit is contained in:
@ -84,7 +84,7 @@ class TimeoutModal(discord.ui.Modal, title='Timeout Member'):
|
||||
client = MyClient()
|
||||
|
||||
|
||||
@client.tree.command(guild=TEST_GUILD, description="Timeout a member")
|
||||
@client.tree.command(guild=TEST_GUILD, description='Timeout a member')
|
||||
async def timeout(interaction: discord.Interaction, member: discord.Member):
|
||||
# Send the modal with an instance of our `TimeoutModal` class
|
||||
# Since modals require an interaction, they cannot be done as a response to a text command.
|
||||
|
Reference in New Issue
Block a user