Skip to content

Commit

Permalink
Update events.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Tech-TTGames authored Dec 6, 2023
1 parent 60b6b6e commit 6abfcfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tickets_plus/cogs/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ async def update_autoclose(self, message: discord.Message, ticket: models.Ticket
"""
chan = message.channel
if guild.any_autoclose:
time_since_update = (datetime.datetime.utcnow() - ticket.last_response)
time_since_update = datetime.datetime.utcnow() - ticket.last_response
if time_since_update >= datetime.timedelta(minutes=5):
crrnt = chan.topic # type: ignore
if crrnt is None:
Expand Down

0 comments on commit 6abfcfa

Please sign in to comment.