diff --git a/seautils/seautils.py b/seautils/seautils.py index c7e732f..85df38e 100644 --- a/seautils/seautils.py +++ b/seautils/seautils.py @@ -93,7 +93,7 @@ class SeaUtils(commands.Cog): command_opts: list[str | int] = ['dig'] if server: command_opts.extend(['@', server]) - command_opts.extend([name, type, '-p', port, '+yaml']) + command_opts.extend([name, type, '-p', str(port), '+yaml']) try: process: Process = await asyncio.create_subprocess_exec(*command_opts, stdout=asyncio.subprocess.PIPE, stderr=asyncio.subprocess.PIPE)