sir-lancebot icon indicating copy to clipboard operation
sir-lancebot copied to clipboard

TypeError: can't compare offset-naive and offset-aware datetimes

Open sentry[bot] opened this issue 1 year ago • 0 comments

Sentry Issue: SIR-LANCEBOT-BV

TypeError: can't compare offset-naive and offset-aware datetimes
  File "bot/exts/utilities/emoji.py", line 111, in info_command
    **Created:** {time_since(emoji.created_at.replace(tzinfo=None), precision="hours")}
  File "bot/utils/time.py", line 79, in time_since
    delta = abs(relativedelta(now, past_datetime))

Unhandled command error: can't compare offset-naive and offset-aware datetimes

sentry[bot] avatar Apr 16 '24 09:04 sentry[bot]