fix(seautils): convert port number to a string
This commit is contained in:
parent
29bb64b35c
commit
54491cb9c9
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue