Skip to content

Commit 67fdcab

Browse files
committed
fix: rename incidents attribute to incidents_data to follow api
1 parent 438dd0c commit 67fdcab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/guild.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ def _from_data(self, guild: GuildPayload) -> None:
576576
self._add_sound(sound)
577577

578578
incidents_payload = guild.get("incidents_data")
579-
self.incidents: IncidentsData | None = (
579+
self.incidents_data: IncidentsData | None = (
580580
IncidentsData(data=incidents_payload, guild=self)
581581
if incidents_payload is not None
582582
else None

0 commit comments

Comments
 (0)