Skip to content
This repository has been archived by the owner on Oct 17, 2020. It is now read-only.

Latest commit

 

History

History
21 lines (14 loc) · 696 Bytes

warn.md

File metadata and controls

21 lines (14 loc) · 696 Bytes

Warn

Usage

.warn <user> [<reason>]

Adds a warning to the user. If no reason is specified, 'warned by devmod' is used. The warning is logged in channels.warn.

If autoBan is true and the user's warnings after this one are equal to autoBanWarns, the user will be banned, their messages from the path banMsgDelete days, and the ban will be logged to channels.ban.

You can clear a user's warnings with the clear warns command.

You can list a user's warnings with the warns command.

Permission Requirements

['KICK_MEMBERS']

Author

devmod © RedXTech, Released under the MIT License.