b

⭑✶ CUSTOM BAN COMMAND ✶⭑ 🛑 Requires premium ‼️ Utilizes the ban, avatar, and echo commands •Complex custom ban command •Provides a detailed ban report and the account's avatar directed to a ban report channel so you have complete info about each account ban •Outputs the account ID alone in a separate channel so you can easily transfer the full list of banned IDs to additional servers •Accepts an ID or mention whether the account is a server member or not •Allows for optional notes about each ban •Allows you to customize the amount of days of posts to be deleted •Checks for incorrect usage and provides an error message with instructions

Privateunrated

Content

62 lines
{=(‼️):Requires premium. Runs the echo, avatar, and ban commands.}
{=(🟢):Replace with your server's Carl-Bot prefix and desired tag name.}
{=(pre):!}
{=(tag):b}
{=(🟢):Replace required roles below with your own. Numeric IDs only, no symbols, separated by commas, no spaces.}
{=(reqroles):900851163921023046}
{=(🟢):Create 1 channel for detailed ban reports and a 2nd channel for the list of banned IDs. Replace channels below with your own. Numeric IDs only, no symbols.}
{=(banchan):910911233971093596}
{=(idchan):910911186902589451}
{=(🟢):Replace number of days of posts to be deleted below. Numeric values only. 0 for none.}
{=(days):0}
{=(🔴):Code begins here. Do not alter.}
{require:{reqroles}}
{=():}
{override}
{=(em1):<:reddisc:910988605684588615>}
{=(id):{replace(<@,):{replace(!,):{replace(>,):{args(1)}}}}}
{=(blank):{if({args(1)}==):true|false}}
{=(idcheck):{all({m:sgn({id})}==1|{id}!={user(id)}):true|false}}
{{all({idcheck}!=false|{blank}!=true):redirect:{banchan}}}
{embed(color):#ff0000}
{=(error):**You must follow the command with the ID or mention of the user you are attempting to ban. You can include an optional reason why at the end. You cannot ban yourself.**

**COMMAND:**
```
{pre}{tag} <ID│mention> (Optional Notes)
```
**USAGE:**
```
{pre}{tag} 270904126974590976 Insubordinate 🐸
```}
{=(ping):{any({blank}==true|{idcheck}==false):**{user(mention)}**}}
{=(iconE):https://media.discordapp.net/attachments/902617691511193661/903701354588020736/error.png}
{=(iconV):https://media.discordapp.net/attachments/902588504717008936/903703986723491930/Screenshot_20211029-125655_Discord.jpg}
{=(footericon):{any({blank}==true|{idcheck}==false):{iconE}|{iconV}}}
{=(validT):🚫 **__ACCOUNT BAN [#{uses}]__** 🚫}
{=(errorT):‼️ **__INPUT ERROR__** ‼️}
{=(title):{any({blank}==true|{idcheck}==false):{errorT}|{validT}}}
{=(footerV):{id}}
{=(footerE):INVALID ENTRY}
{=(footer):{any({blank}==true|{idcheck}==false):{footerE}|{footerV}}}
{=(usernotes):{if({args(2+)}==):N/A|{args(2+)}}}
{=(decimal):{m:trunc({id}/2^22)%2*2^0+trunc({id}/2^23)%2*2^1+trunc({id}/2^24)%2*2^2+trunc({id}/2^25)%2*2^3+trunc({id}/2^26)%2*2^4+trunc({id}/2^27)%2*2^5+trunc({id}/2^28)%2*2^6+trunc({id}/2^29)%2*2^7+trunc({id}/2^30)%2*2^8+trunc({id}/2^31)%2*2^9+trunc({id}/2^32)%2*2^10+trunc({id}/2^33)%2*2^11+trunc({id}/2^34)%2*2^12+trunc({id}/2^35)%2*2^13+trunc({id}/2^36)%2*2^14+trunc({id}/2^37)%2*2^15+trunc({id}/2^38)%2*2^16+trunc({id}/2^39)%2*2^17+trunc({id}/2^40)%2*2^18+trunc({id}/2^41)%2*2^19+trunc({id}/2^42)%2*2^20+trunc({id}/2^43)%2*2^21+trunc({id}/2^44)%2*2^22+trunc({id}/2^45)%2*2^23+trunc({id}/2^46)%2*2^24+trunc({id}/2^47)%2*2^25+trunc({id}/2^48)%2*2^26+trunc({id}/2^49)%2*2^27+trunc({id}/2^50)%2*2^28+trunc({id}/2^51)%2*2^29+trunc({id}/2^52)%2*2^30+trunc({id}/2^53)%2*2^31+trunc({id}/2^54)%2*2^32+trunc({id}/2^55)%2*2^33+trunc({id}/2^56)%2*2^34+trunc({id}/2^57)%2*2^35+trunc({id}/2^58)%2*2^36+trunc({id}/2^59)%2*2^37+trunc({id}/2^60)%2*2^38+trunc({id}/2^61)%2*2^39+trunc({id}/2^62)%2*2^40+trunc({id}/2^63)%2*2^41}}
{=(epoch):1420070400000}
{=(timestamp):{m:trunc(({decimal}+{epoch})/1000)}}
{=(info):**{em1} __BAN INFO__ {em1}
•<@{id}>
•ID: `{id}`
•<t:{unix}:F>
•<t:{unix}:R>
•STAFF: {user(mention)}
•STAFF NAME: `{user(proper)}`
•NOTES: {usernotes}

{em1} __ACCOUNT INFO__ {em1}
•CREATED: <t:{timestamp}:F>
•AGE: `{td({timestamp}):{unix}}`**}
{=(desc):{any({blank}==true|{idcheck}==false):{error}|{info}}}
{{and({blank}!=true|{idcheck}!=false):c:avatar {id}}}
{{all({blank}!=true|{idcheck}!=false):c:ban {id} {days} {usernotes}}}
{{all({blank}!=true|{idcheck}!=false):c:echo <#{idchan}> {id}}}
{ping} 

Embed

1 line
{"color": 5198940, "title": "{title}", "footer": {"text": "{footer}", "icon_url": "{footericon}"}, "description": "{desc}"}
Raw JSON
{
  "id": 1151123,
  "created_at": "2021-11-14T14:56:55.000Z",
  "tag_name": "b",
  "nsfw": false,
  "owner_id": "898051496229339186",
  "uses": 84,
  "description": "⭑✶ CUSTOM BAN COMMAND ✶⭑\n🛑 Requires premium\n‼️ Utilizes the ban, avatar, and echo commands\n•Complex custom ban command\n•Provides a detailed ban report and the account's avatar directed to a ban report channel so you have complete info about each account ban\n•Outputs the account ID alone in a separate channel so you can easily transfer the full list of banned IDs to additional servers\n•Accepts an ID or mention whether the account is a server member or not\n•Allows for optional notes about each ban\n•Allows you to customize the amount of days of posts to be deleted\n•Checks for incorrect usage and provides an error message with instructions",
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "900058375067410452",
  "sharer": "898051496229339186",
  "content": "{=(‼️):Requires premium. Runs the echo, avatar, and ban commands.}\n{=(🟢):Replace with your server's Carl-Bot prefix and desired tag name.}\n{=(pre):!}\n{=(tag):b}\n{=(🟢):Replace required roles below with your own. Numeric IDs only, no symbols, separated by commas, no spaces.}\n{=(reqroles):900851163921023046}\n{=(🟢):Create 1 channel for detailed ban reports and a 2nd channel for the list of banned IDs. Replace channels below with your own. Numeric IDs only, no symbols.}\n{=(banchan):910911233971093596}\n{=(idchan):910911186902589451}\n{=(🟢):Replace number of days of posts to be deleted below. Numeric values only. 0 for none.}\n{=(days):0}\n{=(🔴):Code begins here. Do not alter.}\n{require:{reqroles}}\n{=():}\n{override}\n{=(em1):<:reddisc:910988605684588615>}\n{=(id):{replace(<@,):{replace(!,):{replace(>,):{args(1)}}}}}\n{=(blank):{if({args(1)}==):true|false}}\n{=(idcheck):{all({m:sgn({id})}==1|{id}!={user(id)}):true|false}}\n{{all({idcheck}!=false|{blank}!=true):redirect:{banchan}}}\n{embed(color):#ff0000}\n{=(error):**You must follow the command with the ID or mention of the user you are attempting to ban. You can include an optional reason why at the end. You cannot ban yourself.**\n\n**COMMAND:**\n```\n{pre}{tag} <ID│mention> (Optional Notes)\n```\n**USAGE:**\n```\n{pre}{tag} 270904126974590976 Insubordinate 🐸\n```}\n{=(ping):{any({blank}==true|{idcheck}==false):**{user(mention)}**}}\n{=(iconE):https://media.discordapp.net/attachments/902617691511193661/903701354588020736/error.png}\n{=(iconV):https://media.discordapp.net/attachments/902588504717008936/903703986723491930/Screenshot_20211029-125655_Discord.jpg}\n{=(footericon):{any({blank}==true|{idcheck}==false):{iconE}|{iconV}}}\n{=(validT):🚫 **__ACCOUNT BAN [#{uses}]__** 🚫}\n{=(errorT):‼️ **__INPUT ERROR__** ‼️}\n{=(title):{any({blank}==true|{idcheck}==false):{errorT}|{validT}}}\n{=(footerV):{id}}\n{=(footerE):INVALID ENTRY}\n{=(footer):{any({blank}==true|{idcheck}==false):{footerE}|{footerV}}}\n{=(usernotes):{if({args(2+)}==):N/A|{args(2+)}}}\n{=(decimal):{m:trunc({id}/2^22)%2*2^0+trunc({id}/2^23)%2*2^1+trunc({id}/2^24)%2*2^2+trunc({id}/2^25)%2*2^3+trunc({id}/2^26)%2*2^4+trunc({id}/2^27)%2*2^5+trunc({id}/2^28)%2*2^6+trunc({id}/2^29)%2*2^7+trunc({id}/2^30)%2*2^8+trunc({id}/2^31)%2*2^9+trunc({id}/2^32)%2*2^10+trunc({id}/2^33)%2*2^11+trunc({id}/2^34)%2*2^12+trunc({id}/2^35)%2*2^13+trunc({id}/2^36)%2*2^14+trunc({id}/2^37)%2*2^15+trunc({id}/2^38)%2*2^16+trunc({id}/2^39)%2*2^17+trunc({id}/2^40)%2*2^18+trunc({id}/2^41)%2*2^19+trunc({id}/2^42)%2*2^20+trunc({id}/2^43)%2*2^21+trunc({id}/2^44)%2*2^22+trunc({id}/2^45)%2*2^23+trunc({id}/2^46)%2*2^24+trunc({id}/2^47)%2*2^25+trunc({id}/2^48)%2*2^26+trunc({id}/2^49)%2*2^27+trunc({id}/2^50)%2*2^28+trunc({id}/2^51)%2*2^29+trunc({id}/2^52)%2*2^30+trunc({id}/2^53)%2*2^31+trunc({id}/2^54)%2*2^32+trunc({id}/2^55)%2*2^33+trunc({id}/2^56)%2*2^34+trunc({id}/2^57)%2*2^35+trunc({id}/2^58)%2*2^36+trunc({id}/2^59)%2*2^37+trunc({id}/2^60)%2*2^38+trunc({id}/2^61)%2*2^39+trunc({id}/2^62)%2*2^40+trunc({id}/2^63)%2*2^41}}\n{=(epoch):1420070400000}\n{=(timestamp):{m:trunc(({decimal}+{epoch})/1000)}}\n{=(info):**{em1} __BAN INFO__ {em1}\n•<@{id}>\n•ID: `{id}`\n•<t:{unix}:F>\n•<t:{unix}:R>\n•STAFF: {user(mention)}\n•STAFF NAME: `{user(proper)}`\n•NOTES: {usernotes}\n\n{em1} __ACCOUNT INFO__ {em1}\n•CREATED: <t:{timestamp}:F>\n•AGE: `{td({timestamp}):{unix}}`**}\n{=(desc):{any({blank}==true|{idcheck}==false):{error}|{info}}}\n{{and({blank}!=true|{idcheck}!=false):c:avatar {id}}}\n{{all({blank}!=true|{idcheck}!=false):c:ban {id} {days} {usernotes}}}\n{{all({blank}!=true|{idcheck}!=false):c:echo <#{idchan}> {id}}}\n{ping} ",
  "embed": "{\"color\": 5198940, \"title\": \"{title}\", \"footer\": {\"text\": \"{footer}\", \"icon_url\": \"{footericon}\"}, \"description\": \"{desc}\"}",
  "last_fetched": "2026-10-20T18:00:37.592Z"
}