Skip to content

Commit

Permalink
Catch error and hour
Browse files Browse the repository at this point in the history
  • Loading branch information
Roxedus committed Dec 12, 2023
1 parent 1e5c5a8 commit 00f7211
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cogs/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,9 @@ async def brukere_siden(self, ctx, *, tid: str):
if not ctx.guild.chunked:
await ctx.guild.chunk(cache=True)

if tid.endswith(("d", "w", "m", "y")):
stamp = None

if tid.endswith(("h","d", "w", "m", "y")):
try:
delta = await self.parse_delta(tid)
except ValueError:
Expand Down

0 comments on commit 00f7211

Please sign in to comment.