diff --git a/disco/gateway/events.py b/disco/gateway/events.py index 5bc2c05..ab45662 100644 --- a/disco/gateway/events.py +++ b/disco/gateway/events.py @@ -144,14 +144,12 @@ class Ready(GatewayEvent): user = Field(User) guilds = ListField(Guild) private_channels = ListField(Channel) - trace = ListField(str, alias='_trace') class Resumed(GatewayEvent): """ Sent after a resume completes. """ - trace = ListField(str, alias='_trace') @wraps_model(Guild) diff --git a/tests/gateway/events.py b/tests/gateway/events.py index 96e6fe2..5ff0d7b 100644 --- a/tests/gateway/events.py +++ b/tests/gateway/events.py @@ -4,16 +4,13 @@ from disco.gateway.events import GatewayEvent, Resumed def create_resumed_payload(): return GatewayEvent.from_dispatch(None, { 't': 'RESUMED', - 'd': { - '_trace': ['test', '1', '2', '3'], - } + 'd': {} }) def test_from_dispatch(): event = create_resumed_payload() assert isinstance(event, Resumed) - assert event.trace == ['test', '1', '2', '3'] def test_event_creation(benchmark):