From 091f4fe36d2171b7ac29f7ce565977f78e177f5c Mon Sep 17 00:00:00 2001 From: Seaswimmer Date: Tue, 28 May 2024 18:02:17 -0400 Subject: [PATCH] fix(seautils): fixed maybe_send_message --- seautils/seautils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seautils/seautils.py b/seautils/seautils.py index e68f3f3..3a15c05 100644 --- a/seautils/seautils.py +++ b/seautils/seautils.py @@ -102,11 +102,11 @@ class SeaUtils(commands.Cog): process: Process = await asyncio.create_subprocess_exec(*command_opts, stdout=asyncio.subprocess.PIPE, stderr=asyncio.subprocess.PIPE) stdout, stderr = await process.communicate() except (FileNotFoundError): - await ctx.maybe_send_embed(content="The `dig` command is not installed on this system.") + await ctx.maybe_send_embed(message="The `dig` command is not installed on this system.") return if stderr: - await ctx.maybe_send_embed(content= "An error was encountered!\n" + cf.box(text=stderr.decode())) + await ctx.maybe_send_embed(message="An error was encountered!\n" + cf.box(text=stderr.decode())) else: data = yaml.safe_load(stdout.decode()) message_data: dict = data[0]['message']