Skip to content

Commit defc74f

Browse files
committed
Implement backwards compatibility with annotations on Python 3.6.x
1 parent 97ea3fd commit defc74f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

discord_slash/context.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
import datetime
42
import typing
53
from typing import TYPE_CHECKING
@@ -369,7 +367,7 @@ def __init__(
369367
super().__init__(_http=_http, _json=_json, _discord=_discord, logger=logger)
370368

371369
@property
372-
def slash(self) -> client.SlashCommand:
370+
def slash(self) -> "client.SlashCommand":
373371
"""
374372
Returns the associated SlashCommand object created during Runtime.
375373

0 commit comments

Comments
 (0)