cbsays

Privateunrated

Content

27 lines
{=(COMMENT):Put the tag name below, as per the name you set it in your server, or just leave it be}
{=(tagname):cbsays}

{=(COMMENT):List of roles that will bypass the cooldown, like admin, mods, boosters etc, kept for 3 roles, you can add more if you need, just make sure to edit it in the part below which i used to whitelist them from cooldown}
{=(Role1):}
{=(Role2):}
{=(Role3):}

{=(COMMENT):Put the role ID for the role your using as for cooldown, also put the duration for cooldown, must be the same time format as you put for a temprole command, ex: 5d, 5m, 5h etc}
{=(Cdrole):841466285531332639}
{=(Cdtime):2m}

{=(COMMENT):The following parts contains the part that blacklist users, used a few control blocks to make sure the bot doesnt send anything when no arguments is produced and sends an error message instead, also doesnt add the cooldown role that time, other wise adds a cooldown role if users doesnt have any role whitelisted from above like Role1 and etc. Also if you want to have the tag invocation deleted, you can add a del block in the tag}
{=(urids):{user(roleids)}}
{=(add.role):cmd:temprole {user(id)} {Cdtime} {Cdrole}}
{=(BL1):{in({Role1}):{urids}}} {=(BL2):{in({Role2}):{urids}}} {=(BL3):{in({Role3}):{urids}}}
{=(allCheck):{in(true):{BL1} {BL2} {BL3}}}
{=():} {=(blank):}
{{{if(!={args(1)}):{if(false=={allCheck}):add.role}|blank}}}
{blacklist({if(!={args(1)}):Sorry, due to the high rate of abuse, this tag has a cooldown of {Cdtime} except for boosters and staff|Please provide some arguments}):{if(!={args(1)}):|,{server(id)}}}
{=(Footer):{tagname} by Yakiyo オタク#1206, inspired by Raffael#7777}

{=(COMMENT):The following part just makes it work, used one of my images from cloudinary here, dont mess with it unless you can do it, cause even i myself dont get cloudinary much, lmao}
{=(text):{urlencode:{replace(/,⁄):{args}}}}
{=(link):{replace(%2C,%252C):https://res.cloudinary.com/yakimg/image/upload/w_290,y_9,x_37,a_9,h_250,g_north,c_fit,l_text:Sriracha_36_center_line_spacing_-25:{text}/cbsign_uus90t_sillca.png }}

{=(COMMENT):Also due to how cloudinary works, some symbols breaks the links, for example using comma (,) or forward slash(/) breaks it, i solved it for the comma and slash using another version of them in URLs thanks to Asty'#8926 and galaxy_01#6182's help. Also dont try adding role,user or channel mentions, or emojis too. Since the bot sees them as ids, theyll end up popping as ids on the image too. And avoid using signs and punctuations, especially brackets {} () etc, regular commas and full stops and some other work but they can break the tag so steer clear of them}

Embed

1 line
{"color": 3158326, "image": {"url": "{link}"}, "title": "Sent by {user}"}
Raw JSON
{
  "id": 850407,
  "created_at": "2021-05-26T18:32:37.000Z",
  "tag_name": "cbsays",
  "nsfw": false,
  "owner_id": "646441336152784954",
  "uses": 17,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "776901576086388797",
  "sharer": "646441336152784954",
  "content": "{=(COMMENT):Put the tag name below, as per the name you set it in your server, or just leave it be}\n{=(tagname):cbsays}\n\n{=(COMMENT):List of roles that will bypass the cooldown, like admin, mods, boosters etc, kept for 3 roles, you can add more if you need, just make sure to edit it in the part below which i used to whitelist them from cooldown}\n{=(Role1):}\n{=(Role2):}\n{=(Role3):}\n\n{=(COMMENT):Put the role ID for the role your using as for cooldown, also put the duration for cooldown, must be the same time format as you put for a temprole command, ex: 5d, 5m, 5h etc}\n{=(Cdrole):841466285531332639}\n{=(Cdtime):2m}\n\n{=(COMMENT):The following parts contains the part that blacklist users, used a few control blocks to make sure the bot doesnt send anything when no arguments is produced and sends an error message instead, also doesnt add the cooldown role that time, other wise adds a cooldown role if users doesnt have any role whitelisted from above like Role1 and etc. Also if you want to have the tag invocation deleted, you can add a del block in the tag}\n{=(urids):{user(roleids)}}\n{=(add.role):cmd:temprole {user(id)} {Cdtime} {Cdrole}}\n{=(BL1):{in({Role1}):{urids}}} {=(BL2):{in({Role2}):{urids}}} {=(BL3):{in({Role3}):{urids}}}\n{=(allCheck):{in(true):{BL1} {BL2} {BL3}}}\n{=():} {=(blank):}\n{{{if(!={args(1)}):{if(false=={allCheck}):add.role}|blank}}}\n{blacklist({if(!={args(1)}):Sorry, due to the high rate of abuse, this tag has a cooldown of {Cdtime} except for boosters and staff|Please provide some arguments}):{if(!={args(1)}):|,{server(id)}}}\n{=(Footer):{tagname} by Yakiyo オタク#1206, inspired by Raffael#7777}\n\n{=(COMMENT):The following part just makes it work, used one of my images from cloudinary here, dont mess with it unless you can do it, cause even i myself dont get cloudinary much, lmao}\n{=(text):{urlencode:{replace(/,⁄):{args}}}}\n{=(link):{replace(%2C,%252C):https://res.cloudinary.com/yakimg/image/upload/w_290,y_9,x_37,a_9,h_250,g_north,c_fit,l_text:Sriracha_36_center_line_spacing_-25:{text}/cbsign_uus90t_sillca.png }}\n\n{=(COMMENT):Also due to how cloudinary works, some symbols breaks the links, for example using comma (,) or forward slash(/) breaks it, i solved it for the comma and slash using another version of them in URLs thanks to Asty'#8926 and galaxy_01#6182's help. Also dont try adding role,user or channel mentions, or emojis too. Since the bot sees them as ids, theyll end up popping as ids on the image too. And avoid using signs and punctuations, especially brackets {} () etc, regular commas and full stops and some other work but they can break the tag so steer clear of them}",
  "embed": "{\"color\": 3158326, \"image\": {\"url\": \"{link}\"}, \"title\": \"Sent by {user}\"}",
  "last_fetched": "2026-10-21T01:37:30.474Z"
}