Skip to content

Conversation

hyperneutrino
Copy link
Contributor

Summary of Changes

  • currently, the ban command only allows inputting a number of days for purging on ban, which is outdated as full second-by-second granularity is now supporter
  • additionally, the ban command will currently experience an internal error if the duration provided exceeds the maximum allowance of 7 days instead of offering a descriptive error message
  • this change allows inputting any duration and provides a meaningful error message

Steps to Reproduce

  • use the ban command

Demonstration of Changes

image
image

@davidgan1218
Copy link
Contributor

maybe we should add option to specify ban duration as well as message purging duration.

@KuroganeToyama KuroganeToyama linked an issue Sep 28, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve ban command purge duration behavior
2 participants