Skip to main content
ArcSight

← HomepageAll repository proofValidation recordState of TS Architecture 2026

Repository proof

discord.py architecture

Changing discord/types/snowflake.py in discord.py reaches 134 modules. 41 files call it directly. Snapshot 65232c3.

The first file to open in discord.py is discord/types/snowflake.py. A change there reaches 134 of 146 modules.

This lead file reaches 92% of the graph. The median published proof reaches 60%.

types/snowflake.py134 · 41 fan-in
types/user.py129 · 28 fan-in
types/channel.py116 · 20 fan-in
types/interactions.py116 · 18 fan-in
types/components.py116 · 12 fan-in

Median 60%. Thick bar is blast share. Thin bar is fan-in.

Download the finding

Project: discord.py · Score: 61/100 (Moderate technical debt) · 146 modules · 1,341 edges · Python · 53 of 54 · Language score median 78.9

Cycles
100+
Duplicate authorities
0
God modules
35
Layer violations
0
arc impact discord/types/snowflake.py

Under 3 minutes to first arc impact on a TypeScript monorepo (internal runs).

README badge

ArcSight architecture proof for discord.py
[![ArcSight architecture proof for discord.py](https://arcsight.ai/badge/proof/discordpy/)](https://arcsight.ai/repositories/discordpy/)

Blast radius paths

Ranked by blast radius. Fan-in is direct dependents. Blast radius is downstream modules reachable from that file.

discord.py · 65232c3

RankFileFan-inBlastShare
1discord/types/snowflake.py

concentrates too many responsibilities, shared utility hub

4113492%
2discord/types/user.py

concentrates too many responsibilities

2812988%
3discord/types/channel.py

sits on a dependency cycle

2011679%
4discord/types/interactions.py

sits on a dependency cycle

1811679%
5discord/types/components.py1211679%
All ranked files
RankFileFan-inBlastShare
6discord/types/guild.py1211679%
7discord/types/threads.py1211679%
8discord/types/message.py1011679%
9discord/enums.py6110572%
10discord/flags.py2410471%
11discord/utils.py7910270%

Highest fan-in

discord/utils.pyfan-in 79

Circular dependencies

This snapshot records 100+ dependency cycles.

Nearby proofs

Snapshot notes

In Rapptz discordpy, a change that begins in types snowflake.py keeps traveling until it reaches types user.py, with types channel.py as the third file on that walk and the ROOT_CLUSTER group as the group around them, snapshot mark acecdcbeee.

types interactions.py is worth opening beside types snowflake.py because types components.py still participates when types interactions.py moves, and types guild.py stays in view for Rapptz discordpy, snapshot mark acecdcbeee.

Review types threads.py only after types user.py and types message.py are both on the table, since the link from discord enums.py back to types channel.py belongs to Rapptz discordpy under snapshot mark acecdcbeee.

discord flags.py and discord utils.py are later stops, and a reviewer who has already seen types snowflake.py should still look at discord state.py before treating the ROOT_CLUSTER group as understood for Rapptz discordpy, snapshot mark acecdcbeee.

types snowflake.py closes the file list after types user.py and types channel.py, which keeps the Rapptz discordpy note tied to snapshot mark acecdcbeee, and the files named in this paragraph are the ones the review is willing to stand on.

Subsystem overview

  • ROOT_CLUSTER (144 modules)

CLI workflow

Impact, then scan, fix, finish, and watch.

  • arc impact <file>See what a change breaks
  • arc scanFind issues
  • arc fixApply fixes
  • arc finishResolve remaining
  • arc watchKeep clean

More commands (explain, guard…) →

FAQ

Which file should change first in Rapptz discordpy: types snowflake.py?
Start with types snowflake.py, because the rest of the Rapptz discordpy walk leaves from that file and types user.py is the next file in the same review. Commit acecdcbeee records it.
What else is on the Rapptz discordpy walk besides types snowflake.py and types channel.py?
types channel.py and types interactions.py stay on the walk with types components.py, which are different files from types snowflake.py inside the ROOT_CLUSTER group for Rapptz discordpy. Commit acecdcbeee records it.
How should a reviewer use types guild.py in the Rapptz discordpy snapshot?
Keep types guild.py, types threads.py, and types message.py open together, then check discord enums.py before merging the Rapptz discordpy change. Commit acecdcbeee records it.
Where does the Rapptz discordpy review stop after discord flags.py?
Stop after discord flags.py, discord utils.py, and discord state.py have been compared with types snowflake.py, leaving the ROOT_CLUSTER group until those Rapptz discordpy files are clear. Commit acecdcbeee records it.

Run ArcSight on your repo

Install locally, then run arc impact on the file you plan to change — before merge.

npx arcsight init
arc impact <path>
Install ArcSight →

Embed this report

Use this iframe to show the architecture badge on your site.

<iframe src="https://arcsight.ai/embed/discordpy/" width="320" height="180" frameborder="0"></iframe>

Explore

Evidence-backed analysis snapshot. snapshot.json · How ArcSight measures blast radius · Install · Homepage demo