Skip to content

Commit d8b6dfb

Browse files
committed
Add missing typing to .interested
1 parent 20b2e44 commit d8b6dfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/scheduled_events.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def created_at(self) -> datetime.datetime:
218218
return utils.snowflake_time(self.id)
219219

220220
@property
221-
def interested(self):
221+
def interested(self) -> Optional[int]:
222222
"""An alias to :attr:`.subscriber_count`"""
223223
return self.subscriber_count
224224

0 commit comments

Comments
 (0)