Skip to content
This repository was archived by the owner on Dec 26, 2022. It is now read-only.

Commit 69f2c6f

Browse files
author
drawbu
committed
🐛 I don't know wky my IDE changed all @dataclass(repr=False) with @dataclass
1 parent 96f2606 commit 69f2c6f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pincer/objects/message/user_message.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
from dataclasses import dataclass
77
from enum import Enum, IntEnum
8-
from typing import TYPE_CHECKING
8+
from typing import TYPE_CHECKING, DefaultDict
99
from collections import defaultdict
1010

1111
from .attachment import Attachment
@@ -50,7 +50,7 @@ class AllowedMentionTypes(str, Enum):
5050
EVERYONE = "everyone"
5151

5252

53-
@dataclass
53+
@dataclass(repr=False)
5454
class AllowedMentions(APIObject):
5555
"""Represents the entities the client can mention
5656
@@ -230,7 +230,7 @@ class MessageType(IntEnum):
230230
CONTEXT_MENU_COMMAND = 23
231231

232232

233-
@dataclass
233+
@dataclass(repr=False)
234234
class MessageActivity(APIObject):
235235
"""Represents a Discord Message Activity object
236236
@@ -245,7 +245,7 @@ class MessageActivity(APIObject):
245245
party_id: APINullable[str] = MISSING
246246

247247

248-
@dataclass
248+
@dataclass(repr=False)
249249
class UserMessage(APIObject):
250250
"""Represents a message sent in a channel within Discord.
251251

0 commit comments

Comments
 (0)