Exception in command 'which'
Traceback (most recent call last):
File "/home/bot/tsubaki/prod/lib/python3.11/site-packages/discord/ext/commands/core.py", line 229, in wrapped
ret = await coro(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bot/.local/share/Red-DiscordBot/data/tsubaki_prod/cogs/CogManager/cogs/padglobal/padglobal.py", line 789, in which
await menu.create(ctx, state)
File "/home/bot/tsubaki/prod/lib/python3.11/site-packages/discordmenu/embed/menu.py", line 32, in create
embed_wrapper: EmbedWrapper = self.initial_pane(state)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bot/tsubaki/prod/lib/python3.11/site-packages/tsutils/menu/closable_embed_base.py", line 21, in message_control
view.embed(state, state.props),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bot/.local/share/Red-DiscordBot/data/tsubaki_prod/cogs/CogManager/cogs/padglobal/view/which.py", line 88, in embed
title='Which {}'.format(MonsterHeader.text_with_emoji(m, qs=state.qs)),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bot/tsubaki/prod/lib/python3.11/site-packages/tsutils/tsubaki/monster_header.py", line 38, in text_with_emoji
return cls.box_with_emoji(m, link=False, prefix=prefix,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bot/tsubaki/prod/lib/python3.11/site-packages/tsutils/tsubaki/monster_header.py", line 25, in box_with_emoji
msg = f"{m.monster_no} - {m.name_en}"
^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'monster_no'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/bot/tsubaki/prod/lib/python3.11/site-packages/discord/ext/commands/bot.py", line 1350, in invoke
await ctx.command.invoke(ctx)
File "/home/bot/tsubaki/prod/lib/python3.11/site-packages/discord/ext/commands/core.py", line 1023, in invoke
await injected(*ctx.args, **ctx.kwargs) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bot/tsubaki/prod/lib/python3.11/site-packages/discord/ext/commands/core.py", line 238, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'str' object has no attribute 'monster_no'