{"repo":"NousResearch/hermes-agent","public_id":"121938","display_label":"Discord media adapter import bug and fixes","summary":"A bug where the Discord module was not properly imported in adapter_media.py caused all file and audio sends to fail. Two fix approaches are represented: resolving the module at call time and importing it at module scope.","subsystem":"gateway","counts":{"members":3,"open_issues":1,"open_issues_distinct":1,"open_prs":2,"closed_issues":0,"merged_prs":0,"attempt_prs":2},"landed_fix":null,"resolution":{"state":"unresolved","by":null},"freshness":{"state":"never_verified","last_verified_at":null,"is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.6666666666666666},"fix_edges":[],"members":[{"kind":"issue","number":121938,"title":"[Bug]: Discord adapter_media.py fails all file/audio sends — 'NoneType' object has no attribute 'File' (missing module-level import)","url":null,"state":"open"},{"kind":"pr","number":121952,"title":"fix(discord): import discord at module scope in adapter_media.py","url":null,"state":"open","close_reason":{"category":"silent_close","implication":"active"},"merged":false},{"kind":"pr","number":121956,"title":"fix(discord): resolve the discord module at call time in media sends","url":null,"state":"open","close_reason":{"category":"uncategorized","implication":"needs_llm"},"merged":false}],"trust":{"default_tier":"verified","includes_suggested":false}}