Skip to content

Commit

Permalink
[Discord] Use datetime.UTC alias in AdventurePlayer.start_action method
Browse files Browse the repository at this point in the history
Update to use datetime.UTC alias in AdventurePlayer.start_action method
  • Loading branch information
Harmon758 committed Dec 18, 2023
1 parent 30c9c96 commit 95d9ad2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Discord/cogs/adventure.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ async def inventory(self, item = None):
async def start_action(self, action, item):
self.last_action = action
self.last_action_item = item
self.last_action_time = datetime.datetime.now(datetime.timezone.utc)
self.last_action_time = datetime.datetime.now(datetime.UTC)
await self.bot.db.execute(
"""
UPDATE adventure.players
Expand Down

0 comments on commit 95d9ad2

Please sign in to comment.