Skip to content

Commit 1fe2b4e

Browse files
fix(utils): make invalid time format message for sto ephemeral
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
1 parent 4aaf78e commit 1fe2b4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tux/cogs/utility/self_timeout.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ async def self_timeout(self, ctx: commands.Context[Tux], duration: str, *, reaso
4747
duration_readable = seconds_to_human_readable(duration_seconds)
4848

4949
if duration_seconds == 0:
50-
await ctx.reply("Error! Invalid time format")
50+
await ctx.reply("Error! Invalid time format", ephemeral=True)
5151
return
5252

5353
if duration_seconds > 604800:

0 commit comments

Comments
 (0)