Skip to content

Commit

Permalink
Use the same string for too long in default time
Browse files Browse the repository at this point in the history
  • Loading branch information
TrustyJAID committed Apr 19, 2024
1 parent 77a0929 commit 3ccfc1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redbot/cogs/mutes/mutes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,7 @@ async def default_mute_time(self, ctx: commands.Context, *, time: Optional[MuteT
# prevent setting a default time now that might eventually cause an overflow
# later as the date goes up. 1000 years gives us approximately 8000 more years
# of wiggle room.
return await ctx.send(_("Please provide a more reasonable default time frame."))
return await ctx.send(_("The time provided is too long; use a more reasonable time."))
await self.config.guild(ctx.guild).default_time.set(duration.total_seconds())
await ctx.send(
_("Default mute time set to {time}.").format(
Expand Down

0 comments on commit 3ccfc1c

Please sign in to comment.