Skip to content

Commit

Permalink
[TextEditor] v3.4.4 Fix send error in [p]editor permutate
Browse files Browse the repository at this point in the history
  • Loading branch information
Kreusada authored Dec 17, 2024
1 parent 1dc6bc0 commit f7064d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions texteditor/texteditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class TextEditor(commands.Cog):
"""

__author__ = "Kreusada"
__version__ = "3.4.3"
__version__ = "3.4.4"

def __init__(self, bot):
self.bot = bot
Expand Down Expand Up @@ -160,7 +160,7 @@ async def editor_permutate(self, ctx: commands.Context, *, text: str):
message += "\n" + join
file = None

await ctx.send(message=message, file=file)
await ctx.send(message, file=file)

@editor.command(name="wrap")
async def editor_wrap(
Expand Down Expand Up @@ -260,4 +260,4 @@ async def editor_levenshtein(self, ctx: commands.Context, word1: str, word2: str

distance = matrix[len(word1)][len(word2)] # Bottom right cell
msg = f"The Levenshtein distance between '{word1}' and '{word2}' is {distance}"
await ctx.send(msg)
await ctx.send(msg)

0 comments on commit f7064d1

Please sign in to comment.