passbt
Private
Content
27 lines{{
$rankRoleID := 1395701574503895071
$removeRoleID := 1395701645597474958
$addRoleID1 := 1395675819833163806
$addRoleID2 := 1395714752294162463
$authorMember := .Member
$target := index .Mentions 0
if not (hasRoleID $rankRoleID) {{
"β You don't have permission to use this command."
return
}}
if not $target {{
"β Please mention a user to run this command on. Example: !basicpass @User"
return
}}
removeRoleID $target.ID $removeRoleID
addRoleID $target.ID $addRoleID1
addRoleID $target.ID $addRoleID2
sendDM $target.ID "π Congratulations on passing your basic training! Keep up the great work!"
"β
Successfully updated roles and sent a DM to " $target.Mention
}}Raw JSON
{
"id": 2340911,
"created_at": "2025-07-18T12:39:38.000Z",
"tag_name": "passbt",
"nsfw": false,
"owner_id": "722374674104844360",
"uses": 2,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "",
"hidden": false,
"guild_id": "1395675327493312664",
"sharer": "722374674104844360",
"content": "{{\n $rankRoleID := 1395701574503895071\n $removeRoleID := 1395701645597474958\n $addRoleID1 := 1395675819833163806\n $addRoleID2 := 1395714752294162463\n\n $authorMember := .Member\n $target := index .Mentions 0\n\n if not (hasRoleID $rankRoleID) {{\n \"β You don't have permission to use this command.\"\n return\n }}\n\n if not $target {{\n \"β Please mention a user to run this command on. Example: !basicpass @User\"\n return\n }}\n\n removeRoleID $target.ID $removeRoleID\n addRoleID $target.ID $addRoleID1\n addRoleID $target.ID $addRoleID2\n\n sendDM $target.ID \"π Congratulations on passing your basic training! Keep up the great work!\"\n\n \"β
Successfully updated roles and sent a DM to \" $target.Mention\n}}",
"embed": "{}",
"last_fetched": "2026-10-20T20:04:46.566Z"
}