lounge
Privateunrated
Content
32 lines{=(COMMENT):Variables to change. Meanings below.}
{=(invalidboolerror):Invalid input for first argument: boolean expected. Correct usage: `lounge<add|remove> [duration]`}
{=(permissionerror):You do not have permission to execute this command.}
{=(rolerequired):629446299221098496}
{=(actionrole):783161585773314068}
{=(COMMENT):VARIABLE MEANINGS}
{=(COMMENT):invalidboolerror will be sent if the first argument is invalid.}
{=(COMMENT):permissionerror will be sent if the user doesn't have the required role. Set this to blank and no message will be sent.}
{=(COMMENT):rolerequired is the role that will be required in order to run this command. You can use a role name or a role ID, but ID is recommended.}
{=(COMMENT):actionrole is the role that will be given/removed. You can use a role name or a role ID, but ID is recommended.}
{=(COMMENT):WARNING: CHANGING ANYTHING BELOW THIS LINE COULD CAUSE ISSUES. BE CAREFUL.}
{=(COMMENT):Restrict the command to users with the role specified. If they have the role, override command permissions.}
{override}{require({permissionerror}):{rolerequired}}
{=(COMMENT):A filter to allow different kinds of booleans as the first argument.}
{=(on):{contains({lower:{args(1)}}):add on true enabled}}
{=(off):{contains({lower:{args(1)}}):remove off false disabled}}
{=(COMMENT):This sets a variable to tell the next block whether to add or remove the role. This is used in the next step.}
{=(temp):{if({on}==true):+|-}}
{=(perm):{if({on}==true):add|remove}}
{=(COMMENT):This sets the command to run either 'temprole' or 'role' depending on if there's a second argument.}
{=(str):{if(=={list(1):{join(~):{args}}}):role {perm} {user(id)} {actionrole}|temprole custom {user(id)} {args(2)} {temp}{actionrole}}}
{=(COMMENT):If there's an input error, send the error message. If not, run the command above.}
{{if({on}=={off}):invalidboolerror|c:{str}}}Raw JSON
{
"id": 459414,
"created_at": "2020-12-01T02:47:00.000Z",
"tag_name": "lounge",
"nsfw": false,
"owner_id": "258749170804981772",
"uses": 274,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "605449136870916175",
"sharer": "258749170804981772",
"content": "{=(COMMENT):Variables to change. Meanings below.}\n\n{=(invalidboolerror):Invalid input for first argument: boolean expected. Correct usage: `lounge<add|remove> [duration]`}\n{=(permissionerror):You do not have permission to execute this command.}\n{=(rolerequired):629446299221098496}\n{=(actionrole):783161585773314068}\n\n{=(COMMENT):VARIABLE MEANINGS}\n{=(COMMENT):invalidboolerror will be sent if the first argument is invalid.}\n{=(COMMENT):permissionerror will be sent if the user doesn't have the required role. Set this to blank and no message will be sent.}\n{=(COMMENT):rolerequired is the role that will be required in order to run this command. You can use a role name or a role ID, but ID is recommended.}\n{=(COMMENT):actionrole is the role that will be given/removed. You can use a role name or a role ID, but ID is recommended.}\n\n{=(COMMENT):WARNING: CHANGING ANYTHING BELOW THIS LINE COULD CAUSE ISSUES. BE CAREFUL.}\n\n{=(COMMENT):Restrict the command to users with the role specified. If they have the role, override command permissions.}\n{override}{require({permissionerror}):{rolerequired}}\n\n{=(COMMENT):A filter to allow different kinds of booleans as the first argument.}\n{=(on):{contains({lower:{args(1)}}):add on true enabled}}\n{=(off):{contains({lower:{args(1)}}):remove off false disabled}}\n\n{=(COMMENT):This sets a variable to tell the next block whether to add or remove the role. This is used in the next step.}\n\n{=(temp):{if({on}==true):+|-}}\n{=(perm):{if({on}==true):add|remove}}\n\n{=(COMMENT):This sets the command to run either 'temprole' or 'role' depending on if there's a second argument.}\n{=(str):{if(=={list(1):{join(~):{args}}}):role {perm} {user(id)} {actionrole}|temprole custom {user(id)} {args(2)} {temp}{actionrole}}}\n\n{=(COMMENT):If there's an input error, send the error message. If not, run the command above.}\n{{if({on}=={off}):invalidboolerror|c:{str}}}",
"embed": "{}",
"last_fetched": "2026-10-20T23:20:44.335Z"
}