Last active
February 15, 2021 04:20
-
-
Save ipetermac/4f748e314d55924fc6c4381a1456aae7 to your computer and use it in GitHub Desktop.
Carl-bot Custom Tag - Change Bad Name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{=(COMMENT):Author PETER#3607} | |
{=(COMMENT):update bot prefix} | |
{=(prefix):-} | |
{=(COMMENT):error message when invalid input} | |
{=(error):**Mod ONLY**, usage `{prefix}badname @user`} | |
{=(COMMENT):update Role ID for Admin and Mods} | |
{=(RoleID):732222516277280961,729736736149602304} | |
{=(COMMENT):update channel ID for Mod logs} | |
{=(ModLog):779919214168768512} | |
{require(Mod Only):{RoleID}} | |
{redirect:{ModLog}} | |
{=(COMMENT):defined random name to be given} | |
{=(name):{random:David,Micheal,Nick,Steven,Jackson,Jenifer}} | |
{=(COMMENT):validate input} | |
{=():}{{if({user(id)}=={target(id)}):blacklist({error}):{server(id)}}} | |
{=(COMMENT):Main Command} | |
{silent}{cmd:setnick {target(id)} {if({args(2+)}==):{name}|{args(2+)}}} | |
{=(COMMENT):Mod log template} | |
{=(title): warn | rule 1} | |
{=(output): | |
**Offender** : **{target}** {target(proper)} | |
**Reason** : Your nickname is against the rules, please change it accordingly. | |
**Changed Nickname** : {target(mention)} | |
**Responsible Moderator** : Carl-bot#1536} | |
{embed(color):#FFF880} | |
{embed(timestamp):now} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tag - https://carl.gg/t/443304
Embed JSON - https://pastebin.com/CpFqz0jt