Open aikaterna opened 1 year ago
Some bugs i've found:
Missing + at critical hit? https://bae.lena.moe/t2ncyu7byzhb.png
!cbackpack sell all
bot/cogs/CogManager/cogs/adventure/charsheet.py:690: DeprecationWarning: in 3.12 __contains__ will no longer raise TypeError, but will return True or False depending on whether the value is a member or the value of a member
if rarity not in Rarities:
[2023-05-05 11:52:19] [ERROR] red: TypeError
Traceback (most recent call last):
File "/home/glas/redenv/lib/python3.11/site-packages/discord/ext/commands/core.py", line 229, in wrapped
ret = await coro(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "bot/cogs/CogManager/cogs/adventure/backpack.py", line 1002, in commands_cbackpack_sell
slots = await character.get_argparse_backpack_items(query, rarity_exclude=["forged"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "bot/cogs/CogManager/cogs/adventure/charsheet.py", line 1182, in get_argparse_backpack_items
bkpk = await self.get_sorted_backpack_arg_parse(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "bot/cogs/CogManager/cogs/adventure/charsheet.py", line 1050, in get_sorted_backpack_arg_parse
final.append((slot_name, sorted(tmp[slot_name], key=_sort)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "bot/cogs/CogManager/cogs/adventure/charsheet.py", line 882, in _sort
return self.get_rarity_index(item), item[1].lvl, item[1].total_stats
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "bot/cogs/CogManager/cogs/adventure/charsheet.py", line 690, in get_rarity_index
if rarity not in Rarities:
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/enum.py", line 723, in __contains__
raise TypeError(
TypeError: unsupported operand type(s) for 'in': 'tuple' and 'EnumType'
3. cart bug
``` discord.errors.NotFound: 404 Not Found (error code: 10062): Unknown interaction
[2023-05-06 11:32:30] [ERROR] discord.ui.modal: Ignoring exception in modal <TraderModal timeout=None children=1>:
Traceback (most recent call last):
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/cart.py", line 92, in on_submit
await interaction.response.send_message(
File "/home/glas/redenv/lib/python3.11/site-packages/discord/interactions.py", line 778, in send_message
await adapter.create_interaction_response(
File "/home/glas/redenv/lib/python3.11/site-packages/discord/webhook/async_.py", line 219, in request
raise NotFound(response, data)
discord.errors.NotFound: 404 Not Found (error code: 10062): Unknown interaction
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/glas/redenv/lib/python3.11/site-packages/discord/ui/modal.py", line 187, in _scheduled_task
await self.on_submit(interaction)
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/cart.py", line 76, in on_submit
async with self.cog.get_lock(spender):
File "/usr/local/lib/python3.11/asyncio/locks.py", line 21, in __aexit__
self.release()
File "/usr/local/lib/python3.11/asyncio/locks.py", line 140, in release
raise RuntimeError('Lock is not acquired.')
RuntimeError: Lock is not acquired.```
Happens during an adventure (started via Text command):
[22:07:40] ERROR [discord.ui.view] Ignoring exception in view <GameSession timeout=120 children=6> for item <SpecialActionButton style=<ButtonStyle.primary: 1> url=None disabled=False label='Special Action' emoji=<PartialEmoji animated=False name='⚛️' id=None> row=None>
╭───────────────────── Traceback (most recent call last) ──────────────────────╮
│ /usr/local/lib/python3.11/site-packages/discord/ui/view.py:427 in │
│ _scheduled_task │
│ ❱ 427 await item.callback(interaction) │
│ /app/docker/cogs/CogManager/cogs/adventure/game_session.py:734 in callback │
│ ❱ 734 await self.send_rage(interaction, c) │
│ /app/docker/cogs/CogManager/cogs/adventure/game_session.py:652 in send_rage │
│ ❱ 652 await self.send_cooldown(interaction, c, cooldown_time) │
│ /app/docker/cogs/CogManager/cogs/adventure/game_session.py:446 in │
│ send_cooldown │
│ ❱ 446 await smart_embed(interaction, msg, success=False, ephemeral=T │
│ cog=self.view.cog) │
│ /app/docker/cogs/CogManager/cogs/adventure/helpers.py:47 in smart_embed │
│ ❱ 47 bot = ctx.bot │
╰──────────────────────────────────────────────────────────────────────────────╯
AttributeError: 'Interaction' object has no attribute 'bot'
- Missing + at critical hit? https://bae.lena.moe/t2ncyu7byzhb.png
This is still present but the rest above this comment should have been resolved with #425 - comment more if you find more please
Just updated and found this
May 06 22:18:17 lena python3[2554693]: adding 1
May 06 22:18:17 lena python3[2554693]: [2023-05-06 22:18:17] [ERROR] discord.ui.view: Ignoring exception in view <GameSession timeout=120 children=6> for item <SpecialActionButton style=<ButtonStyle.primary: 1> url=None di sabled=False label='Special Action' emoji=<PartialEmoji animated=False name='⚛️' id=None> row=None>
May 06 22:18:17 lena python3[2554693]: Traceback (most recent call last):
May 06 22:18:17 lena python3[2554693]: File "/home/glas/redenv/lib/python3.11/site-packages/discord/ui/view.py", line 427, in _scheduled_task
May 06 22:18:17 lena python3[2554693]: await item.callback(interaction)
May 06 22:18:17 lena python3[2554693]: File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/game_session.py", line 730, in callback
May 06 22:18:17 lena python3[2554693]: await self.send_cleric(interaction, c)
May 06 22:18:17 lena python3[2554693]: File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/game_session.py", line 465, in send_cleric
May 06 22:18:17 lena python3[2554693]: await self.view.config.user(user).set(await c.to_json(self.view.ctx, self.view.config))
May 06 22:18:17 lena python3[2554693]: ^^^^^^^^^^^^^^^^
May 06 22:18:17 lena python3[2554693]: AttributeError: 'GameSession' object has no attribute 'config'
May 06 22:18:34 lena python3[2554693]: [2023-05-06 22:18:34] [ERROR] discord.ui.view: Ignoring exception in view <GameSession timeout=120 children=6> for item <SpecialActionButton style=<ButtonStyle.primary: 1> url=None di sabled=False label='Special Action' emoji=<PartialEmoji animated=False name='⚛️' id=None> row=None>
May 06 22:18:34 lena python3[2554693]: Traceback (most recent call last):
May 06 22:18:34 lena python3[2554693]: File "/home/glas/redenv/lib/python3.11/site-packages/discord/ui/view.py", line 427, in _scheduled_task
May 06 22:18:34 lena python3[2554693]: await item.callback(interaction)
May 06 22:18:34 lena python3[2554693]: File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/game_session.py", line 730, in callback
May 06 22:18:34 lena python3[2554693]: await self.send_cleric(interaction, c)
May 06 22:18:34 lena python3[2554693]: File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/game_session.py", line 465, in send_cleric
May 06 22:18:34 lena python3[2554693]: await self.view.config.user(user).set(await c.to_json(self.view.ctx, self.view.config))
May 06 22:18:34 lena python3[2554693]: ^^^^^^^^^^^^^^^^
May 06 22:18:34 lena python3[2554693]: AttributeError: 'GameSession' object has no attribute 'config'
While trying to use berz special attack
https://bae.lena.moe/cvi4vl4mx6bt.png
ebackpack sellall normal bug
[2023-05-07 03:22:46] [ERROR] red: CommandInvokeError
Traceback (most recent call last):
File "/home/glas/redenv/lib/python3.11/site-packages/discord/app_commands/commands.py", line 841, in _do_call
return await self._callback(self.binding, interaction, **params) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/backpack.py", line 494, in backpack_sellall
async with ctx.typing():
File "/home/glas/redenv/lib/python3.11/site-packages/discord/ext/commands/context.py", line 93, in __aenter__
await self.ctx.defer(ephemeral=self.ephemeral)
File "/home/glas/redenv/lib/python3.11/site-packages/discord/ext/commands/context.py", line 717, in defer
await self.interaction.response.defer(ephemeral=ephemeral)
File "/home/glas/redenv/lib/python3.11/site-packages/discord/interactions.py", line 616, in defer
raise InteractionResponded(self._parent)
discord.errors.InteractionResponded: This interaction has already been responded to before
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/glas/redenv/lib/python3.11/site-packages/discord/ext/commands/hybrid.py", line 438, in _invoke_with_namespace
value = await self._do_call(ctx, ctx.kwargs) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/glas/redenv/lib/python3.11/site-packages/discord/app_commands/commands.py", line 860, in _do_call
raise CommandInvokeError(self, e) from e
discord.app_commands.errors.CommandInvokeError: Command 'sellall' raised an exception: InteractionResponded: This interaction has already been responded to before
Happens with !cbackpack sell --lvl <25
:
[11:31:12] WARNING [py.warnings] /app/docker/cogs/CogManager/cogs/adventure/charsheet.py:693: DeprecationWarning:
in 3.12 __contains__ will no longer raise TypeError, but will return True or
False depending on whether the value is a member or the value of a member
ERROR [red] TypeError
╭───────────────────── Traceback (most recent call last) ──────────────────────╮
│ /usr/local/lib/python3.11/site-packages/discord/ext/commands/core.py:229 in │
│ wrapped │
│ ❱ 229 ret = await coro(*args, **kwargs) │
│ /app/docker/cogs/CogManager/cogs/adventure/backpack.py:980 in │
│ commands_cbackpack_sell │
│ ❱ 980 slots = await character.get_argparse_backpack_items(query │
│ rarity_exclude=["forged"]) │
│ /app/docker/cogs/CogManager/cogs/adventure/charsheet.py:1185 in │
│ get_argparse_backpack_items │
│ ❱ 1185 bkpk = await self.get_sorted_backpack_arg_parse( │
│ /app/docker/cogs/CogManager/cogs/adventure/charsheet.py:1053 in │
│ get_sorted_backpack_arg_parse │
│ ❱ 1053 final.append((slot_name, sorted(tmp[slot_name], key=_ │
│ /app/docker/cogs/CogManager/cogs/adventure/charsheet.py:885 in _sort │
│ ❱ 885 return self.get_rarity_index(item), item[1].lvl, item[1]. │
│ /app/docker/cogs/CogManager/cogs/adventure/charsheet.py:693 in │
│ get_rarity_index │
│ ❱ 693 if rarity not in Rarities: │
│ /usr/local/lib/python3.11/enum.py:742 in __contains__ │
│ ❱ 742 raise TypeError( │
╰──────────────────────────────────────────────────────────────────────────────╯
TypeError: unsupported operand type(s) for 'in': 'tuple' and 'EnumType'
!backpack sell silk ring
AND /adventure backpack sell silk ring
https://bae.lena.moe/kgogrprei02v.png
https://bae.lena.moe/wso70l12jdpn.png
[2023-05-07 22:24:39] [ERROR] red.cogs.adventure: Error with the new character sheet
Traceback (most recent call last):
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/backpack.py", line 75, in sell_one_button
character = await Character.from_json(self.ctx, self.ctx.cog.config, self.author, self._daily_bonus)
^^^^^^^^^^^^^^^^^
AttributeError: 'BackpackSellView' object has no attribute '_daily_bonus'
[2023-05-07 22:24:56] [ERROR] red.cogs.adventure: Error with the new character sheet
Traceback (most recent call last):
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/converters.py", line 318, in autocomplete
c = await Character.from_json(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 1369, in from_json
backpack = {n: Item.from_json(ctx, {n: i}) for n, i in data["backpack"].items()}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 1369, in <dictcomp>
backpack = {n: Item.from_json(ctx, {n: i}) for n, i in data["backpack"].items()}
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 211, in from_json
item = ctx.cog.TR_GEAR_SET.get(name, {})
^^^^^^^
File "/home/glas/redenv/lib/python3.11/site-packages/discord/ext/commands/context.py", line 431, in cog
return self.command.cog
^^^^^^^^^^^^^^^^
AttributeError: 'HybridAppCommand' object has no attribute 'cog'
[2023-05-07 22:24:57] [ERROR] red.cogs.adventure: Error with the new character sheet
Traceback (most recent call last):
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/converters.py", line 318, in autocomplete
c = await Character.from_json(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 1369, in from_json
backpack = {n: Item.from_json(ctx, {n: i}) for n, i in data["backpack"].items()}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 1369, in <dictcomp>
backpack = {n: Item.from_json(ctx, {n: i}) for n, i in data["backpack"].items()}
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 211, in from_json
item = ctx.cog.TR_GEAR_SET.get(name, {})
^^^^^^^
File "/home/glas/redenv/lib/python3.11/site-packages/discord/ext/commands/context.py", line 431, in cog
return self.command.cog
^^^^^^^^^^^^^^^^
AttributeError: 'HybridAppCommand' object has no attribute 'cog'
[2023-05-07 22:24:59] [ERROR] red.cogs.adventure: Error with the new character sheet
Traceback (most recent call last):
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/converters.py", line 318, in autocomplete
c = await Character.from_json(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 1369, in from_json
backpack = {n: Item.from_json(ctx, {n: i}) for n, i in data["backpack"].items()}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 1369, in <dictcomp>
backpack = {n: Item.from_json(ctx, {n: i}) for n, i in data["backpack"].items()}
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 211, in from_json
item = ctx.cog.TR_GEAR_SET.get(name, {})
^^^^^^^
File "/home/glas/redenv/lib/python3.11/site-packages/discord/ext/commands/context.py", line 431, in cog
return self.command.cog
^^^^^^^^^^^^^^^^
AttributeError: 'HybridAppCommand' object has no attribute 'cog'
[2023-05-07 22:24:59] [ERROR] red.cogs.adventure: Error with the new character sheet
Traceback (most recent call last):
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/converters.py", line 258, in convert
c = await Character.from_json(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 1369, in from_json
backpack = {n: Item.from_json(ctx, {n: i}) for n, i in data["backpack"].items()}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 1369, in <dictcomp>
backpack = {n: Item.from_json(ctx, {n: i}) for n, i in data["backpack"].items()}
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 211, in from_json
item = ctx.cog.TR_GEAR_SET.get(name, {})
^^^^^^^
File "/home/glas/redenv/lib/python3.11/site-packages/discord/ext/commands/context.py", line 431, in cog
return self.command.cog
^^^^^^^^^^^^^^^^
AttributeError: 'HybridAppCommand' object has no attribute 'cog'
[2023-05-07 22:28:09] [ERROR] red.cogs.adventure: Error with the new character sheet
Traceback (most recent call last):
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/converters.py", line 318, in autocomplete
c = await Character.from_json(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 1343, in from_json
equipment = {k: Item.from_json(ctx, v) if v else None for k, v in data["items"].items() if k != "backpack"}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 1343, in <dictcomp>
equipment = {k: Item.from_json(ctx, v) if v else None for k, v in data["items"].items() if k != "backpack"}
^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 211, in from_json
item = ctx.cog.TR_GEAR_SET.get(name, {})
^^^^^^^
File "/home/glas/redenv/lib/python3.11/site-packages/discord/ext/commands/context.py", line 431, in cog
return self.command.cog
^^^^^^^^^^^^^^^^
AttributeError: 'HybridAppCommand' object has no attribute 'cog'
[2023-05-07 22:28:10] [ERROR] red.cogs.adventure: Error with the new character sheet
Traceback (most recent call last):
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/converters.py", line 318, in autocomplete
c = await Character.from_json(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 1343, in from_json
equipment = {k: Item.from_json(ctx, v) if v else None for k, v in data["items"].items() if k != "backpack"}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 1343, in <dictcomp>
equipment = {k: Item.from_json(ctx, v) if v else None for k, v in data["items"].items() if k != "backpack"}
^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 211, in from_json
item = ctx.cog.TR_GEAR_SET.get(name, {})
^^^^^^^
File "/home/glas/redenv/lib/python3.11/site-packages/discord/ext/commands/context.py", line 431, in cog
return self.command.cog
^^^^^^^^^^^^^^^^
AttributeError: 'HybridAppCommand' object has no attribute 'cog'
[2023-05-07 22:28:11] [ERROR] red.cogs.adventure: Error with the new character sheet
Traceback (most recent call last):
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/converters.py", line 318, in autocomplete
c = await Character.from_json(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 1343, in from_json
equipment = {k: Item.from_json(ctx, v) if v else None for k, v in data["items"].items() if k != "backpack"}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 1343, in <dictcomp>
equipment = {k: Item.from_json(ctx, v) if v else None for k, v in data["items"].items() if k != "backpack"}
^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 211, in from_json
item = ctx.cog.TR_GEAR_SET.get(name, {})
^^^^^^^
File "/home/glas/redenv/lib/python3.11/site-packages/discord/ext/commands/context.py", line 431, in cog
return self.command.cog
^^^^^^^^^^^^^^^^
AttributeError: 'HybridAppCommand' object has no attribute 'cog'
[2023-05-07 22:28:11] [ERROR] red.cogs.adventure: Error with the new character sheet
Traceback (most recent call last):
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/converters.py", line 318, in autocomplete
c = await Character.from_json(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 1343, in from_json
equipment = {k: Item.from_json(ctx, v) if v else None for k, v in data["items"].items() if k != "backpack"}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 1343, in <dictcomp>
equipment = {k: Item.from_json(ctx, v) if v else None for k, v in data["items"].items() if k != "backpack"}
^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 211, in from_json
item = ctx.cog.TR_GEAR_SET.get(name, {})
^^^^^^^
File "/home/glas/redenv/lib/python3.11/site-packages/discord/ext/commands/context.py", line 431, in cog
return self.command.cog
^^^^^^^^^^^^^^^^
AttributeError: 'HybridAppCommand' object has no attribute 'cog'
[2023-05-07 22:28:13] [ERROR] red.cogs.adventure: Error with the new character sheet
Traceback (most recent call last):
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/converters.py", line 318, in autocomplete
c = await Character.from_json(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 1343, in from_json
equipment = {k: Item.from_json(ctx, v) if v else None for k, v in data["items"].items() if k != "backpack"}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 1343, in <dictcomp>
equipment = {k: Item.from_json(ctx, v) if v else None for k, v in data["items"].items() if k != "backpack"}
^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 211, in from_json
item = ctx.cog.TR_GEAR_SET.get(name, {})
^^^^^^^
File "/home/glas/redenv/lib/python3.11/site-packages/discord/ext/commands/context.py", line 431, in cog
return self.command.cog
^^^^^^^^^^^^^^^^
AttributeError: 'HybridAppCommand' object has no attribute 'cog'
[2023-05-07 22:28:17] [ERROR] red.cogs.adventure: Error with the new character sheet
Traceback (most recent call last):
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/converters.py", line 318, in autocomplete
c = await Character.from_json(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 1343, in from_json
equipment = {k: Item.from_json(ctx, v) if v else None for k, v in data["items"].items() if k != "backpack"}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 1343, in <dictcomp>
equipment = {k: Item.from_json(ctx, v) if v else None for k, v in data["items"].items() if k != "backpack"}
^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 211, in from_json
item = ctx.cog.TR_GEAR_SET.get(name, {})
^^^^^^^
File "/home/glas/redenv/lib/python3.11/site-packages/discord/ext/commands/context.py", line 431, in cog
return self.command.cog
^^^^^^^^^^^^^^^^
AttributeError: 'HybridAppCommand' object has no attribute 'cog'
[2023-05-07 22:28:18] [ERROR] red.cogs.adventure: Error with the new character sheet
Traceback (most recent call last):
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/converters.py", line 318, in autocomplete
c = await Character.from_json(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 1343, in from_json
equipment = {k: Item.from_json(ctx, v) if v else None for k, v in data["items"].items() if k != "backpack"}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 1343, in <dictcomp>
equipment = {k: Item.from_json(ctx, v) if v else None for k, v in data["items"].items() if k != "backpack"}
^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 211, in from_json
item = ctx.cog.TR_GEAR_SET.get(name, {})
^^^^^^^
File "/home/glas/redenv/lib/python3.11/site-packages/discord/ext/commands/context.py", line 431, in cog
return self.command.cog
^^^^^^^^^^^^^^^^
AttributeError: 'HybridAppCommand' object has no attribute 'cog'
daily bonus related bug + backpack
/home/glas/redenv/lib/python3.11/site-packages/discord/ui/view.py:427: RuntimeWarning: coroutine 'Value._get' was never awaited
await item.callback(interaction)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
[2023-05-07 22:36:05] [ERROR] red.cogs.adventure: Error with the new character sheet
Traceback (most recent call last):
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/backpack.py", line 111, in sell_all_button
character = await Character.from_json(self.ctx, self.ctx.cog.config, self.author, self._daily_bonus)
^^^^^^^^^^^^^^^^^
AttributeError: 'BackpackSellView' object has no attribute '_daily_bonus'
Language typo?
Item 1 **y** Item 2
https://cdn.discordapp.com/attachments/730089724668280862/1104946010255527956/image.png
Shouldn't be "and"?
y means and in spanish, but I can triple guarantee i have uninstalled the cog and reinstalled it. None of my old translation files exists anymore.
Also the bot locale is in english for the record.
EDIT: i've checked and my custom theme DIDNT had a action_response.json
file
I checked this file and there is not a string where two items were mentioned
I copied bot\cogs\CogManager\cogs\adventure\data\default\action_response.json
into my custom theme bot\cogs\Adventure\yubi\action_response.json
but the issue persists. https://bae.lena.moe/3avddx3w6oaj.png
Seems the problem arises on the $weapon variable or the get_weapons method but I couln't figure what to do with it
https://bae.lena.moe/1zqd4ezw5fva.png
/home/glas/redenv/lib/python3.11/site-packages/discord/ui/view.py:427: RuntimeWarning: coroutine 'Value._get' was never awaited
await item.callback(interaction)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
/home/glas/redenv/lib/python3.11/site-packages/discord/ui/view.py:427: RuntimeWarning: coroutine 'Value._get' was never awaited
await item.callback(interaction)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
/home/glas/redenv/lib/python3.11/site-packages/discord/ui/view.py:427: RuntimeWarning: coroutine 'Value._get' was never awaited
await item.callback(interaction)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
/home/glas/redenv/lib/python3.11/site-packages/discord/ui/view.py:427: RuntimeWarning: coroutine 'Value._get' was never awaited
await item.callback(interaction)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
/home/glas/redenv/lib/python3.11/site-packages/discord/ui/view.py:427: RuntimeWarning: coroutine 'Value._get' was never awaited
await item.callback(interaction)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
/home/glas/redenv/lib/python3.11/site-packages/discord/ui/view.py:427: RuntimeWarning: coroutine 'Value._get' was never awaited
await item.callback(interaction)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
When attacking?
bot doesn't respect the global adventure settings multi adventure is configured to unlimited yet it's not possible to join a separate game in another server while already being present in one
Chest rarity is broke as well
Give loot command broke
I'll post traceback later
Language typo?
Item 1 **y** Item 2
https://cdn.discordapp.com/attachments/730089724668280862/1104946010255527956/image.png
Shouldn't be "and"?
y means and in spanish, but I can triple guarantee i have uninstalled the cog and reinstalled it. None of my old translation files exists anymore.
Also the bot locale is in english for the record.
EDIT: i've checked and my custom theme DIDNT had a
action_response.json
fileI checked this file and there is not a string where two items were mentioned
I copied
bot\cogs\CogManager\cogs\adventure\data\default\action_response.json
into my custom themebot\cogs\Adventure\yubi\action_response.json
but the issue persists. https://bae.lena.moe/3avddx3w6oaj.png
Seems the problem arises on the $weapon variable or the get_weapons method but I couln't figure what to do with it
So this happens because on the charactersheet get_weapons
method calls Red's humanize_list([left, right])
when you have a left and right weapon equipped. humanize_list
will implicitly check locale and apply the appropriate and
or or
depending on the style of list conversion passed to it.
Language typo?
Item 1 **y** Item 2
https://cdn.discordapp.com/attachments/730089724668280862/1104946010255527956/image.png Shouldn't be "and"? y means and in spanish, but I can triple guarantee i have uninstalled the cog and reinstalled it. None of my old translation files exists anymore. Also the bot locale is in english for the record. EDIT: i've checked and my custom theme DIDNT had aaction_response.json
file I checked this file and there is not a string where two items were mentioned I copiedbot\cogs\CogManager\cogs\adventure\data\default\action_response.json
into my custom themebot\cogs\Adventure\yubi\action_response.json
but the issue persists. https://bae.lena.moe/3avddx3w6oaj.png Seems the problem arises on the $weapon variable or the get_weapons method but I couln't figure what to do with itSo this happens because on the charactersheet
get_weapons
method calls Red'shumanize_list([left, right])
when you have a left and right weapon equipped.humanize_list
will implicitly check locale and apply the appropriateand
oror
depending on the style of list conversion passed to it.
But the bot locale is english in that server + discord client is also in english. https://bae.lena.moe/77yjvw16eskc.png
changed it again to be sure and it's still showing spanish. Now for the record, the bot locale is spanish in other servers. Maybe it's related to the bug that don't respect global settings? Or maybe it grabs the "global locale setting" which is spanish iirc
[p]scoreboard
Loses and fumble buttons cause interaction failed https://bae.lena.moe/ileqfjryi4l7.png
[2023-05-08 15:34:22] [ERROR] discord.ui.view: Ignoring exception in view <ScoreBoardMenu timeout=180 children=13> for item <Button style=<ButtonStyle.secon
'Losses' emoji=<PartialEmoji animated=False name='🔥' id=None> row=1>
Traceback (most recent call last):
File "/home/glas/redenv/lib/python3.11/site-packages/discord/ui/view.py", line 427, in _scheduled_task
await item.callback(interaction)
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/menus.py", line 686, in losses
await self.change_source(
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/menus.py", line 500, in change_source
await self.show_page(0, interaction)
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/menus.py", line 569, in show_page
await self.update()
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/menus.py", line 653, in update
buttons[self._current].disabled = True
~~~~~~~^^^^^^^^^^^^^^^
KeyError: 'loses'
[2023-05-08 15:34:46] [ERROR] discord.ui.view: Ignoring exception in view <ScoreBoardMenu timeout=180 children=13> for item <Button style=<ButtonStyle.secon
'Fumbles' emoji=<PartialEmoji animated=False name='⁉' id=None> row=2>
Traceback (most recent call last):
File "/home/glas/redenv/lib/python3.11/site-packages/discord/ui/view.py", line 427, in _scheduled_task
await item.callback(interaction)
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/menus.py", line 765, in fumble
await self.change_source(
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/menus.py", line 500, in change_source
await self.show_page(0, interaction)
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/menus.py", line 569, in show_page
await self.update()
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/menus.py", line 653, in update
buttons[self._current].disabled = True
~~~~~~~^^^^^^^^^^^^^^^
KeyError: 'fumbles'
Odd message on run away. https://bae.lena.moe/gtt72bxbah3d.png https://bae.lena.moe/dbkd12qearx8.png
!cbackpack sell --rarity normal rare epic legendary ascended
[2023-05-08 20:35:55] [ERROR] red: TypeError
Traceback (most recent call last):
File "/home/glas/redenv/lib/python3.11/site-packages/discord/ext/commands/core.py", line 229, in wrapped
ret = await coro(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/backpack.py", line 979, in commands_cbackpack_sell
slots = await character.get_argparse_backpack_items(query, rarity_exclude=["forged"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 1196, in get_argparse_backpack_items
bkpk = await self.get_sorted_backpack_arg_parse(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 1064, in get_sorted_backpack_arg_parse
final.append((slot_name, sorted(tmp[slot_name], key=_sort)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 896, in _sort
return self.get_rarity_index(item), item[1].lvl, item[1].total_stats
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/charsheet.py", line 704, in get_rarity_index
if rarity not in Rarities:
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/enum.py", line 723, in __contains__
raise TypeError(
TypeError: unsupported operand type(s) for 'in': 'tuple' and 'EnumType'
on other hand
backpack sellall
is broken, not console outputs
can't sell legendary items
negaverse
if already done/ on cooldown is not outputting anything if done via command, if it's through slash just says the application did not respond, no console output.
and there's currently no way to sell items
DEG item generation value is not working
!give item xxxxxxxxxx "Test item final" 1 att 2 charisma 3 int 4 dex 5 luck 7 degrade 6 level left event
https://bae.lena.moe/33lrf54xa300.png
!give item `xxxxxx "Test item2" 1 1 att 1 charisma 1 int 1 dex 1 luck event right 1 degrade 1
https://bae.lena.moe/bf6gu7pfl508.png
When using [p]nv 5000
for example it works as it should but using [p]nv
without any specified number, it will reset the cooldown and you can re-use [p]nv [any_number]
.
Mostly happens on [p]adventure
, used to happen rarely back on 3.4 (only seen like 2-3 times during 3.4 days), but ever since I've updated to 3.5 this is happening pretty frequently, basically my errorlogs is now full of this error.
Traceback (most recent call last):
File "/MELON/lib/python3.11/site-packages/discord/ext/commands/core.py", line 229, in wrapped
ret = await coro(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/.local/share/Red-DiscordBot/data/MELON/cogs/CogManager/cogs/adventure/adventure.py", line 591, in _adventure
async with self.get_lock(user):
File "/usr/lib/python3.11/asyncio/locks.py", line 21, in __aexit__
self.release()
File "/usr/lib/python3.11/asyncio/locks.py", line 140, in release
raise RuntimeError('Lock is not acquired.')
RuntimeError: Lock is not acquired.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/MELON/lib/python3.11/site-packages/discord/ext/commands/bot.py", line 1350, in invoke
await ctx.command.invoke(ctx)
File "/MELON/lib/python3.11/site-packages/discord/ext/commands/core.py", line 1023, in invoke
await injected(*ctx.args, **ctx.kwargs) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/MELON/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: RuntimeError: Lock is not acquired.
Hi, im not sure if this is an issue, but ranger bonus is higher than it should be acording to legend. Is an error? Or some super critical bonus. It happend multiple times in one day.
Issue where all items except those equipped are deleted when rebirthing. Specifically ascended and legendary items with a valid DEG value.
Opening loot one by one because of current issue with opening multiple chests at once not setting the correct DEG value. Bottom command demonstrates the items in inventory that are not equipped.
Rebirthing and then checking inventory to demonstrate ascended items are gone and set items are still equipped.
Edit: Sorry OP was unclear. I didn't have "traceback and the command you used to have the traceback occur" so I opened #438, I apologize.
!a / !adventure
Normal spread of boss to general monsters.
Adventure version: 4.0.0
There is about an ~80% chance that anybody who starts an adventure will generate a Dragon / Boss encounter.
This has caused users to become disinterested in the adventure game because it's extremely difficult to solo Dragon / Boss monsters and needing a raid call about 4+ times an hour to get anywhere is quite extreme.
It's possible this drop rate has increased as one specific user has the ability to use hundreds of million/billion/trillion gold to NV and catapult their level to 800+ (of 1000?)
Is boss rate tied to user level(s) at all?
Yes, one user was able to NV multiple trillions of gold -- this might be an area to consider investigating of boss rates are tied to user levels / rank / etc somehow.
Problem when equiping/unequiping items, if anything helps i am using i18 branch
!equip .unholy_bone_staff
: [2023-06-27 00:11:07] [ERROR] red: AttributeError
: Traceback (most recent call last):
: File "/home/glas/redenv/lib/python3.11/site-packages/discord/ext/commands/core.py", line 229, in wrapped
: ret = await coro(*args, **kwargs)
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
: File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/character.py", line 484, in equip
: await ctx.invoke(self.backpack_equip, equip_item=item)
: File "/home/glas/redenv/lib/python3.11/site-packages/discord/ext/commands/context.py", line 336, in invoke
: return await command(self, *args, **kwargs)
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: File "/home/glas/redenv/lib/python3.11/site-packages/discord/ext/commands/core.py", line 582, in __call__
: return await self.callback(self.cog, context, *args, **kwargs) # type: ignore
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/backpack.py", line 269, in backpack_equip
: if not getattr(c, equip.slot.name):
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
: AttributeError: 'Character' object has no attribute 'two_handed'```
we're running into this issue with command [p]setinfo king titan
Traceback (most recent call last):
File "/root/MELON/lib/python3.11/site-packages/discord/ext/commands/core.py", line 235, in wrapped
ret = await coro(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.local/share/Red-DiscordBot/data/MELON/cogs/CogManager/cogs/adventure/character.py", line 264, in set_show
loadout_display = await self._build_loadout_display(ctx, {"items": d}, loadout=False, rebirths=c.rebirths)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.local/share/Red-DiscordBot/data/MELON/cogs/CogManager/cogs/adventure/character.py", line 356, in _build_loadout_display
data_sorted = sorted(userdata["items"].items(), key=get_slot_index)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.local/share/Red-DiscordBot/data/MELON/cogs/CogManager/cogs/adventure/character.py", line 354, in get_slot_index
return slot.order()
^^^^^^^^^^
AttributeError: 'tuple' object has no attribute 'order'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/root/MELON/lib/python3.11/site-packages/discord/ext/commands/bot.py", line 1350, in invoke
await ctx.command.invoke(ctx)
File "/root/MELON/lib/python3.11/site-packages/discord/ext/commands/core.py", line 1029, in invoke
await injected(*ctx.args, **ctx.kwargs) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/MELON/lib/python3.11/site-packages/discord/ext/commands/core.py", line 244, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'tuple' object has no attribute 'order'
might be related to my previous post?
!cbackpack sell --rarity normal rare epic legendary ascended
or /adventure backpack sell all
gives this
[2023-07-01 11:45:44] [ERROR] red: AttributeError
Traceback (most recent call last):
File "/home/glas/redenv/lib/python3.11/site-packages/discord/ext/commands/converter.py", line 1224, in _actual_conversion
return await converter().convert(ctx, argument)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/converters.py", line 867, in convert
parser.add_argument("--slot", nargs="*", dest="slot", default=[i for i in Slot], type=Slot, action=RarityAction)
File "/usr/local/lib/python3.11/argparse.py", line 1443, in add_argument
action = action_class(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/converters.py", line 814, in __init__
set(list(i.lower() for i in enum_type.names().keys()) + list(i.lower() for i in enum_type.names().values()))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/converters.py", line 814, in <genexpr>
set(list(i.lower() for i in enum_type.names().keys()) + list(i.lower() for i in enum_type.names().values()))
^^^^^^^
AttributeError: 'Slot' object has no attribute 'lower'```
loot command showing this after the recent commit.
Leaderboard error?
bled=False label=None emoji=<PartialEmoji animated=False name='▶️' id=None> row=None>
Jul 03 12:42:48 lena python3[1221]: Traceback (most recent call last):
Jul 03 12:42:48 lena python3[1221]: File "/home/glas/redenv/lib/python3.11/site-packages/discord/ui/view.py", line 427, in _scheduled_task
Jul 03 12:42:48 lena python3[1221]: await item.callback(interaction)
Jul 03 12:42:48 lena python3[1221]: File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/menus.py", line 440, in callback
Jul 03 12:42:48 lena python3[1221]: kwargs = await self.view._get_kwargs_from_page(page)
Jul 03 12:42:48 lena python3[1221]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jul 03 12:42:48 lena python3[1221]: File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/menus.py", line 556, in _get_kwargs_from_page
Jul 03 12:42:48 lena python3[1221]: value = await self.source.format_page(self, page)
Jul 03 12:42:48 lena python3[1221]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jul 03 12:42:48 lena python3[1221]: File "/mnt/hdd/data/lenabot/cogs/CogManager/cogs/adventure/menus.py", line 240, in format_page
Jul 03 12:42:48 lena python3[1221]: loses_len = max(len(humanize_number(entries[0][1]["loses"])) + 3, 8)
Jul 03 12:42:48 lena python3[1221]: ~~~~~~~^^^
Jul 03 12:42:48 lena python3[1221]: IndexError: list index out of range
Jul 03 14:08:13 lena python3[1221]: adding 1
Jul 03 14:08:13 lena python3[1221]: adding 1```
[p]adventure skill reset does not work as a slash command, reset is not a proper subcommand
Edit: guess it works if you put "reset" into the optional skill slot on the slash command but might be better as a real command
Using /adventure backpack trade leaves a "<botname>
is thinking..." continually running on the command message if the user chooses no on the trade.
Using the Special Action button as a Psychic when the mob is already revealed leads to a "This interaction failed" message
Edit: it does it on any mob, revealed or not Edit 2: #447
Click an ability to use in a fight, then click another ability. The message about already being in an adventure pops up. Try to switch to another ability then and then it will allow you
Bloodrage Drake needs a new image link
Mobs images not loading despite image URL existing (not all mobs but many).
Heroclass command choices shouldn't display "Hero"
So you feel like taking on a class, NAME? Available classes are: Hero Wizard Tinkerer Berserker Cleric Ranger Bard Psychic
These images were only a few moments apart, used special action button on an adventure vs. the bless command - cooldown timer is different for the record if it matters, this was a Cleric
Extra space in title
Investigate #449
General todo: add readme link to install message
End loot result needs to be pluralized on "chest" if needs be
You also secured 2 Legendary and 2 Ascended treasure chest!
Actions reveal mob names in ephemeral message when mob is obscured in hard mode
Rounding issue? Insight reveals 5079 hp but end count says 5078
Looks like the imgur for Bloodrage Drake
is dead
https://github.com/aikaterna/gobcog/blob/f28512e4dae27653221ba37aa990e1f82e10a3a0/adventure/data/default/monsters.json#L23
Hello, please write your issues below in a comment with your traceback and the command you used to have the traceback occur or reproduction steps. Thanks for reporting.
Superceded comments
- [ ] `give item` level arg, level given seems to be ignored (may be related to dev id list?, didn't test with alternate account) - [ ] `give loot` help formatting for rarity levels - can that be improved? - [ ] Minor/Non-issue: Add item slot names to `give item` help - [ ] Have a new character, get to or set character at level 11+, use heroclass command [23:44:06] ERROR [red] UnboundLocalError Traceback (most recent call last) /.../python3.11/site-packages/discord/ext/commands/core.py:229 in wrapped ❱ 229 ret = await coro(*args, **kwargs) /.../CogManager/cogs/adventure/class_abilities.py:107 in heroclass ❱ 107 currency_name=currency_name, clz=clz.ansi(classes[clz.class_name]["name"]) UnboundLocalError: cannot access local variable 'classes' where it is not associated with a value - [ ] Failed interactions on heroclass command do not reset heroclass cooldown