Skip to content

Commit

Permalink
Update menus.py
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahCxrest authored Jan 22, 2024
1 parent 62987bf commit d706913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion menus.py
Original file line number Diff line number Diff line change
Expand Up @@ -6334,7 +6334,7 @@ async def _manipulate_shift_time(self, message, op: typing.Literal["add", "subtr

chosen_operation = operations[op]
if self.contained_document is not None:
check_for_update = await bot.shift_management.shifts.find_by_id(ObjectId(self.shift['_id']))
check_for_update = await self.bot.shift_management.shifts.find_by_id(ObjectId(self.shift['_id']))
if check_for_update != self.shift:
self.shift = check_for_update
self.contained_document = await bot.shift_management.fetch_shift(self.shift['_id'])
Expand Down

0 comments on commit d706913

Please sign in to comment.