v5.0.0
$getBanReason
This function gets the reason of the ban for the specified user

Fields

This function has 1 required field
  1. 1.
    User ID (Required)
  2. 2.
    Guild ID (Optional)
Raw Usage: $getBanReason[userID;guildID (optional)]

Options

  • User ID - The user we're getting the reason for
  • Guild ID - The guild we're the user was banned

Usage

Without optional field
1
bot.command({
2
name: "banReason",
3
code: `$getBanReason[$mentioned[1]]`
4
})
Copied!
With optional field
1
bot.command({
2
name: "banReason",
3
code: `$getBanReason[$mentioned[1];773352845738115102]`
4
})
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub