misc(seautils): purposefully breaking dig so i can test nslookup fallback

This commit is contained in:
Seaswimmer 2024-05-28 18:35:17 -04:00
parent 25fdf7b402
commit 7d51814a28
Signed by untrusted user: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -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] = ['dig'] command_opts: list[str | int] = ['digsss']
if server: if server:
command_opts.extend(['@', server]) command_opts.extend(['@', server])
command_opts.extend([name, type]) command_opts.extend([name, type])