fix(seautils): revert breaking dig
This commit is contained in:
parent
7d51814a28
commit
5ffc42480a
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ class SeaUtils(commands.Cog):
|
||||||
@commands.is_owner()
|
@commands.is_owner()
|
||||||
async def dig(self, ctx: commands.Context, name: str, type: str | None = 'A', server: str | None = None, port: int = 53) -> None:
|
async def dig(self, ctx: commands.Context, name: str, type: str | None = 'A', server: str | None = None, port: int = 53) -> None:
|
||||||
"""Retrieve DNS information for a domain."""
|
"""Retrieve DNS information for a domain."""
|
||||||
command_opts: list[str | int] = ['digsss']
|
command_opts: list[str | int] = ['dig']
|
||||||
if server:
|
if server:
|
||||||
command_opts.extend(['@', server])
|
command_opts.extend(['@', server])
|
||||||
command_opts.extend([name, type])
|
command_opts.extend([name, type])
|
||||||
|
|
Loading…
Reference in a new issue