We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa3fc2d commit 7d17792Copy full SHA for 7d17792
bot/exts/moderation/infraction/_scheduler.py
@@ -219,8 +219,8 @@ async def apply_infraction(
219
# Default values for the confirmation message and mod log.
220
confirm_msg = ":ok_hand: applied"
221
222
- # Specifying an expiry for a note or warning makes no sense.
223
- if infr_type in ("note", "warning"):
+ # Specifying an expiry for a kick, note, or warning makes no sense.
+ if infr_type in ("kick", "note", "warning"):
224
expiry_msg = ""
225
else:
226
expiry_msg = f" until {expiry}" if expiry else " permanently"
0 commit comments