ban - shinyfinder/chatot-smogon GitHub Wiki

Usage

Availability: All Guilds

/ban <user> [timeframe] [reason] [dm]

  • user: Username (id) of the person to be banned. The user does not need to be in the server.
  • timeframe (Optional): Time over which the users messages are to be deleted. Default: none.
  • reason (Optional): Reason for the audit log (not sent to the user)
  • dm (Optional): Message to be sent to the user. Does not DM if not provided

Example:

/ban user:123456 reason:annoying dm:please don't pick fights

Permissions

  • Chatot: Ban Members
  • Users: Ban Members

Description

Summary: Bans a user from the guild in which the command is used.

If a dm string is provided, the DM that is sent takes the form of the following:

You have been banned from [guild name] for the following reason: 

[reason]

If this server is a [Smogon directory server](<https://www.smogon.com/forums/threads/3652546/>) and you wish to appeal the ban, read and fill out this [form](<https://www.smogon.com/forums/discord-ban-appeal-form/>).

The final line is only sent if the server is designated as "official" (Smogon-owned); otherwise, this line will be absent. Chatot is subject to the same restrictions as any other user when sending DMs: it must share a server with the recipient and the recipient must have DMs turned on. If either is untrue, the DM will fail, but the user will still be banned. If you try to DM the user, Chatot will be clear if it was successful in the response to the command.

⚠️ **GitHub.com Fallback** ⚠️