Skip to content

Commit

Permalink
Bring back Python 3.6 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Bluenix2 committed Jan 30, 2022
1 parent 02f0221 commit afdf4db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions discord_gateway/conn.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import zlib
from collections import deque
from typing import (
Any, Deque, Dict, Generator, List, Literal, Optional, Tuple, Union
Any, Deque, Dict, Generator, List, Optional, Tuple, Union
)
from urllib.parse import urlencode, urlsplit

Expand Down Expand Up @@ -657,7 +657,7 @@ def update_presence(
self,
*,
activities: List[Dict[str, Any]],
status: Literal['online', 'dnd', 'idle', 'invisible'] = 'online',
status: str = 'online',
afk: bool = False,
since: Optional[int] = None,
) -> bytes:
Expand Down

0 comments on commit afdf4db

Please sign in to comment.