Member Reference¶
You should not be creating this object yourself. It is just useful to understand how they work for say, plugin development.
Internally this object provides an O(1) way of storing Messages as well as maintaining the requried data to track and punish spammers
-
class
antispam.dataclasses.member.
Member
(id: int, guild_id: int, warn_count: int = 0, kick_count: int = 0, duplicate_counter: int = 1, duplicate_channel_counter_dict: Dict[int, int] = NOTHING, in_guild: bool = True, messages: List[antispam.dataclasses.message.Message] = NOTHING, addons: Dict[str, Any] = NOTHING)¶ A simplistic dataclass representing a Member
-
__init__
(id: int, guild_id: int, warn_count: int = 0, kick_count: int = 0, duplicate_counter: int = 1, duplicate_channel_counter_dict: Dict[int, int] = NOTHING, in_guild: bool = True, messages: List[antispam.dataclasses.message.Message] = NOTHING, addons: Dict[str, Any] = NOTHING) → None¶ Method generated by attrs for class Member.
-
addons
¶
-
duplicate_channel_counter_dict
¶
-
duplicate_counter
¶
-
guild_id
¶
-
id
¶
-
kick_count
¶
-
messages
¶
-
warn_count
¶
-