Skip to content

Implement account age

Compare
Choose a tag to compare
@Taaku18 Taaku18 released this 15 Nov 02:16
· 1501 commits to master since this release

What's new?

  • Introduced a new configuration variable account_age for setting a minimum account creation age.
    • Users blocked by this reason will be stored in blocked along with other reasons for being blocked.
    • account_age needs to be an ISO-8601 Duration Format (examples: P12DT3H 12 days and 3 hours, P3Y5M 3 years and 5 months PT4H14M999S 4 hours 14 minutes and 999 seconds). https://en.wikipedia.org/wiki/ISO_8601#Durations.
    • You can set account_age using config set account_age time where "time" can be a simple human readable time string or an ISO-8601 Duration Format string.

Changed

  • block reason cannot start with System Message: as it is now reserved for internal user blocking.
  • block, like close, now supports a block duration (temp blocking).