Skip to content

Commit 21ec0da

Browse files
committed
Refactor _grab_timeout to _fetch_timeout
Reason: #302 (comment)
1 parent a5b24ef commit 21ec0da

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

core/thread.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -343,9 +343,7 @@ async def _find_thread_message(channel, message_id):
343343
if str(message_id) == str(embed.author.url).split("/")[-1]:
344344
return msg
345345

346-
async def _grab_timeout(
347-
self
348-
) -> typing.Union[None, isodate.duration.Duration, timedelta]:
346+
async def _fetch_timeout(self) -> typing.Union[None, isodate.duration.Duration, timedelta]:
349347
"""
350348
This grabs the timeout value for closing threads automatically
351349
from the ConfigManager and parses it for use internally.

0 commit comments

Comments
 (0)