Skip to content
This repository was archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
Fix bot
Browse files Browse the repository at this point in the history
  • Loading branch information
MaskDuck committed Jun 14, 2024
1 parent 4160e7f commit 56275bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _orangcbot/extensions/format.py
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ def __init__(self) -> None:

async def callback(self, interaction: Interaction) -> None:
await interaction.response.defer()
response = black.format_str(self.code_to_format.value) # type: ignore -- it is required lmao
response = black.format_str(self.code_to_format.value, mode=black.Mode()) # type: ignore -- it is required lmao
await interaction.send(
embed=nextcord.Embed(
title="Formatted code",

0 comments on commit 56275bc

Please sign in to comment.