Skip to content

AttributeError: 'TalentPool' object has no attribute 'cache' #2340

@sentry

Description

@sentry

Sentry Issue: BOT-3AR

AttributeError: 'TalentPool' object has no attribute 'cache'
  File "discord/ext/commands/core.py", line 229, in wrapped
    ret = await coro(*args, **kwargs)
  File "bot/exts/info/information.py", line 227, in server_info
    embed.add_field(name="Moderation:", value=self.get_extended_server_info(ctx))
  File "bot/exts/info/information.py", line 83, in get_extended_server_info
    num_nominated = len(cog.cache) if cog.cache else "-"

Error executing command invoked by Scofflaw#6970: !server

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: informationRelated to information commands: (doc, help, information, reddit, site, tags)a: recruitmentRelated to recruitment: (talentpool)p: 2 - normalNormal Prioritystatus: approvedThe issue has received a core developer's approvalt: bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions