You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception in command 'runtimerole'
Traceback (most recent call last):
File "C:\Users\jason\challengerenv\lib\site-packages\discord\ext\commands\core.py", line 229, in wrapped
ret = await coro(*args, **kwargs)
File "C:\Users\jason\AppData\Local\Red-DiscordBot\Red-DiscordBot\data\Challenger\cogs\CogManager\cogs\timerole\timerole.py", line 74, in runtimerole
await self.timerole_update()
File "C:\Users\jason\AppData\Local\Red-DiscordBot\Red-DiscordBot\data\Challenger\cogs\CogManager\cogs\timerole\timerole.py", line 287, in timerole_update
if check_time >= utcnow:
TypeError: can't compare offset-naive and offset-aware datetimes
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\jason\challengerenv\lib\site-packages\discord\ext\commands\bot.py", line 1350, in invoke
await ctx.command.invoke(ctx)
File "C:\Users\jason\challengerenv\lib\site-packages\discord\ext\commands\core.py", line 1023, in invoke
await injected(*ctx.args, **ctx.kwargs) # type: ignore
File "C:\Users\jason\challengerenv\lib\site-packages\discord\ext\commands\core.py", line 238, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: TypeError: can't compare offset-naive and offset-aware datetimes
287 if check_time.timestamp() >= utcnow.timestamp():
The text was updated successfully, but these errors were encountered:
Same issue on line 257 and datetime.fromisoformat(mr_dict["check_again_time"]) >= utcnow
to and datetime.fromisoformat(mr_dict["check_again_time"]).timestamp() >= utcnow.timestamp()
Fox-V3/timerole/timerole.py
Line 287 in 43a39cc
Exception in command 'runtimerole'
Traceback (most recent call last):
File "C:\Users\jason\challengerenv\lib\site-packages\discord\ext\commands\core.py", line 229, in wrapped
ret = await coro(*args, **kwargs)
File "C:\Users\jason\AppData\Local\Red-DiscordBot\Red-DiscordBot\data\Challenger\cogs\CogManager\cogs\timerole\timerole.py", line 74, in runtimerole
await self.timerole_update()
File "C:\Users\jason\AppData\Local\Red-DiscordBot\Red-DiscordBot\data\Challenger\cogs\CogManager\cogs\timerole\timerole.py", line 287, in timerole_update
if check_time >= utcnow:
TypeError: can't compare offset-naive and offset-aware datetimes
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\jason\challengerenv\lib\site-packages\discord\ext\commands\bot.py", line 1350, in invoke
await ctx.command.invoke(ctx)
File "C:\Users\jason\challengerenv\lib\site-packages\discord\ext\commands\core.py", line 1023, in invoke
await injected(*ctx.args, **ctx.kwargs) # type: ignore
File "C:\Users\jason\challengerenv\lib\site-packages\discord\ext\commands\core.py", line 238, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: TypeError: can't compare offset-naive and offset-aware datetimes
287
if check_time.timestamp() >= utcnow.timestamp():
The text was updated successfully, but these errors were encountered: