Skip to main content

Moderation functions

  • {warn}: Warns a user with the given reason, and sends a DM if enabled

    • Arguments:
      • reason = "No reason"
      • user = message.author.id
      • sendDM = "false"
  • {kick}: Kicks a user with the given reason, and sends a DM if enabled using yes

    • Arguments:
      • reason = "No reason"
      • user = message.author.id
      • sendDM = "false"
  • {timeout}: Timeouts a user with the given reason for the given time, and sends a DM if enabled using yes

    • Arguments:
      • time
      • reason = "No reason"
      • user = message.author.id
      • sendDM = "false"
  • {ban}: Bans a user with the given reason for the given time, or permanent if "perm", and sends a DM if enabled using yes

    • Arguments:
      • time = "perm"
      • reason = "No reason"
      • user = message.author.id
      • sendDM = "false"
      • deleteMessages = "0"