Skip to content

Commit 13a9903

Browse files
committed
Fix invalid syntax
1 parent 13138fd commit 13a9903

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

forward/forward.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ async def tblock(self, ctx, user: discord.Member, time: Optional[MuteTime] = Non
255255
blocked[userid] = (datetime.now(timezone.utc) + duration).timestamp() # until
256256
await ctx.maybe_send_embed("Blocked <@{id}> from send messages to the bot until {until}.".format(id=userid, until=humanize_timedelta(timedelta=datetime.datetime.fromtimestamp(blocked[userid]))))
257257
else:
258-
await ctx.maybe_send_embed("This user is already blocked until {}.".format(humanize_timedelta(timedelta=timedelta=datetime.datetime.fromtimestamp(blocked[userid]))))
258+
await ctx.maybe_send_embed("This user is already blocked until {}.".format(humanize_timedelta(timedelta=datetime.datetime.fromtimestamp(blocked[userid]))))
259259

260260
@commands.command()
261261
@commands.guild_only()

0 commit comments

Comments
 (0)