HexCorpProgramming / HexCorpDiscordAI

5 stars 7 forks source link

`hc!drone_status` is broken #465

Open 3287 opened 5 months ago

3287 commented 5 months ago

hc!drone_status broke sometime back, and always errors out with this traceback each time it's used in DMs:

2024-06-26 :: 16:29:18.879 :: ERROR :: !!! Exception caught in drone_status command !!!
2024-06-26 :: 16:29:18.881 :: INFO :: Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/discord/ext/commands/bot.py", line 349, in invoke
    await ctx.command.invoke(ctx)
  File "/usr/local/lib/python3.11/site-packages/discord/ext/commands/core.py", line 951, in invoke
    await self.prepare(ctx)
  File "/usr/local/lib/python3.11/site-packages/discord/ext/commands/core.py", line 881, in prepare
    await self._parse_arguments(ctx)
  File "/usr/local/lib/python3.11/site-packages/discord/ext/commands/core.py", line 783, in _parse_arguments
    transformed = await self.transform(ctx, param)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/discord/ext/commands/core.py", line 627, in transform
    return await run_converters(ctx, converter, argument, param)  # type: ignore
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/discord/ext/commands/converter.py", line 1222, in run_converters
    raise BadUnionArgument(param, union_args, errors)
discord.ext.commands.errors.BadUnionArgument: Could not convert "member" into Member or DroneMemberConverter.