wheel
Privateunrated
Content
94 lines{=(prefix):!}
{=(tagname):wheel}
{=(amt):{1}}
{=(r):replace}
{=(el):{{r}(~, ):{join():{args(2+)}}}}
{=(lenEl):{index($&%):{el} $&%}}
{=(rawel):{args(2+)}}
{=(i1):{#:{rawel}}}
{=(rep):{{r}(~~,~):{{r}({i1},):{rawel}}}}
{=(i2):{#:{{r}(%%,):{{r}(~%%,):{{r}(%%~,):{{r}(~~,~):%%{rep}%%}}}}}}
{=(rep):{{r}(~~,~):{{r}({i2},):{rep}}}}
{=(i3):{#:{{r}(%%,):{{r}(~%%,):{{r}(%%~,):{{r}(~~,~):{{r}({i2},):%%{rep}%%}}}}}}}
{=(rep):{{r}(~~,~):{{r}({i3},):{rep}}}}
{=(i4):{#:{{r}(%%,):{{r}(~%%,):{{r}(%%~,):{{r}(~~,~):{{r}({i3},):%%{rep}%%}}}}}}}
{=(rep):{{r}(~~,~):{{r}({i4},):{rep}}}}
{=(i5):{#:{{r}(%%,):{{r}(~%%,):{{r}(%%~,):{{r}(~~,~):{{r}({i4},):%%{rep}%%}}}}}}}
{=(rep):{{r}(~~,~):{{r}({i5},):{rep}}}}
{=(i6):{#:{{r}(%%,):{{r}(~%%,):{{r}(%%~,):{{r}(~~,~):{{r}({i5},):%%{rep}%%}}}}}}}
{=(rep):{{r}(~~,~):{{r}({i6},):{rep}}}}
{=(i7):{#:{{r}(%%,):{{r}(~%%,):{{r}(%%~,):{{r}(~~,~):{{r}({i6},):%%{rep}%%}}}}}}}
{=(rep):{{r}(~~,~):{{r}({i7},):{rep}}}}
{=(i8):{#:{{r}(%%,):{{r}(~%%,):{{r}(%%~,):{{r}(~~,~):{{r}({i7},):%%{rep}%%}}}}}}}
{=(rep):{{r}(~~,~):{{r}({i8},):{rep}}}}
{=(i9):{#:{{r}(%%,):{{r}(~%%,):{{r}(%%~,):{{r}(~~,~):{{r}({i8},):%%{rep}%%}}}}}}}
{=(rep):{{r}(~~,~):{{r}({i9},):{rep}}}}
{=(i10):{#:{{r}(%%,):{{r}(~%%,):{{r}(%%~,):{{r}(~~,~):{{r}({i9},):%%{rep}%%}}}}}}}
{=(rep):{{r}(~~,~):{{r}({i10},):{rep}}}}
{=(i11):{#:{{r}(%%,):{{r}(~%%,):{{r}(%%~,):{{r}(~~,~):{{r}({i10},):%%{rep}%%}}}}}}}
{=(rep):{{r}(~~,~):{{r}({i11},):{rep}}}}
{=(i12):{#:{{r}(%%,):{{r}(~%%,):{{r}(%%~,):{{r}(~~,~):{{r}({i11},):%%{rep}%%}}}}}}}
{=(rep):{{r}(~~,~):{{r}({i12},):{rep}}}}
{=(i13):{#:{{r}(%%,):{{r}(~%%,):{{r}(%%~,):{{r}(~~,~):{{r}({i12},):%%{rep}%%}}}}}}}
{=(rep):{{r}(~~,~):{{r}({i13},):{rep}}}}
{=(i14):{#:{{r}(%%,):{{r}(~%%,):{{r}(%%~,):{{r}(~~,~):{{r}({i13},):%%{rep}%%}}}}}}}
{=(rep):{{r}(~~,~):{{r}({i14},):{rep}}}}
{=(i15):{#:{{r}(%%,):{{r}(~%%,):{{r}(%%~,):{{r}(~~,~):{{r}({i14},):%%{rep}%%}}}}}}}
{=(pickedAll):{i1}~{i2}~{i3}~{i4}~{i5}~{i6}~{i7}~{i8}~{i9}~{i10}~{i11}~{i12}~{i13}~{i14}~{i15}}
{=(picked):{{r}(~,
):{pickedAll(+{amt}):~}}}
{=(tag):{prefix}{tagname}}
{=(msg.help):Specify a **number** of elements to pick and a **list** of elements to pick from, separated by the `~` character.
**Usage**```css
{tag} <number> <list of elements>
```
**Example**```css
{tag} 2 first element~also another~an item
```}
{=(msg.tooMuch):The amount of elements to pick from you specified (**`{amt}`**) is superior than the amount of elements in the list you provided (**`{lenEl}`**).
Please make sure that the first argument is lower or equal to the length of your list of elements.}
{=(msg.picked):**[{amt}] Your Winner...**
{picked}}
{=(isAmountOk):{and({m:sgn({amt})}==1|{amt}<={lenEl}):true|false}}
{=(isList):{if(!={rawel}):true|false}}
{=(msg):msg.help msg.tooMuch msg.picked}
{=(toReturn):msg({index(false):0 {isAmountOk} {isList} false})}
{=(em.title):FB Wheel}
{=(em.desc):{{{toReturn}}}}
{=(debug):__Debug:__
**Values**
amount: ```
{amt} ```
el: ```{el} ```
rawel: ```
{rawel} ```
pickedAll: ```
{pickedAll}```
**Checks**
lenEl: `{lenEl}`
isAmountOk: `{isAmountOk}`
isList: `{isList}`
**Output**
picked:
```
{picked} ```
em.desc:
{em.desc}
}Embed
1 line{"color": 16743805, "title": "{em.title}", "description": "{em.desc}"}Raw JSON
{
"id": 957343,
"created_at": "2021-07-19T23:42:55.000Z",
"tag_name": "wheel",
"nsfw": false,
"owner_id": "599997286055149578",
"uses": 25,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "777307706683293707",
"sharer": "599997286055149578",
"content": "{=(prefix):!}\n{=(tagname):wheel}\n\n{=(amt):{1}}\n\n{=(r):replace}\n\n{=(el):{{r}(~, ):{join():{args(2+)}}}}\n\n{=(lenEl):{index($&%):{el} $&%}}\n\n{=(rawel):{args(2+)}}\n\n{=(i1):{#:{rawel}}}\n{=(rep):{{r}(~~,~):{{r}({i1},):{rawel}}}}\n{=(i2):{#:{{r}(%%,):{{r}(~%%,):{{r}(%%~,):{{r}(~~,~):%%{rep}%%}}}}}}\n{=(rep):{{r}(~~,~):{{r}({i2},):{rep}}}}\n{=(i3):{#:{{r}(%%,):{{r}(~%%,):{{r}(%%~,):{{r}(~~,~):{{r}({i2},):%%{rep}%%}}}}}}}\n{=(rep):{{r}(~~,~):{{r}({i3},):{rep}}}}\n{=(i4):{#:{{r}(%%,):{{r}(~%%,):{{r}(%%~,):{{r}(~~,~):{{r}({i3},):%%{rep}%%}}}}}}}\n{=(rep):{{r}(~~,~):{{r}({i4},):{rep}}}}\n{=(i5):{#:{{r}(%%,):{{r}(~%%,):{{r}(%%~,):{{r}(~~,~):{{r}({i4},):%%{rep}%%}}}}}}}\n{=(rep):{{r}(~~,~):{{r}({i5},):{rep}}}}\n{=(i6):{#:{{r}(%%,):{{r}(~%%,):{{r}(%%~,):{{r}(~~,~):{{r}({i5},):%%{rep}%%}}}}}}}\n{=(rep):{{r}(~~,~):{{r}({i6},):{rep}}}}\n{=(i7):{#:{{r}(%%,):{{r}(~%%,):{{r}(%%~,):{{r}(~~,~):{{r}({i6},):%%{rep}%%}}}}}}}\n{=(rep):{{r}(~~,~):{{r}({i7},):{rep}}}}\n{=(i8):{#:{{r}(%%,):{{r}(~%%,):{{r}(%%~,):{{r}(~~,~):{{r}({i7},):%%{rep}%%}}}}}}}\n{=(rep):{{r}(~~,~):{{r}({i8},):{rep}}}}\n{=(i9):{#:{{r}(%%,):{{r}(~%%,):{{r}(%%~,):{{r}(~~,~):{{r}({i8},):%%{rep}%%}}}}}}}\n{=(rep):{{r}(~~,~):{{r}({i9},):{rep}}}}\n{=(i10):{#:{{r}(%%,):{{r}(~%%,):{{r}(%%~,):{{r}(~~,~):{{r}({i9},):%%{rep}%%}}}}}}}\n{=(rep):{{r}(~~,~):{{r}({i10},):{rep}}}}\n{=(i11):{#:{{r}(%%,):{{r}(~%%,):{{r}(%%~,):{{r}(~~,~):{{r}({i10},):%%{rep}%%}}}}}}}\n{=(rep):{{r}(~~,~):{{r}({i11},):{rep}}}}\n{=(i12):{#:{{r}(%%,):{{r}(~%%,):{{r}(%%~,):{{r}(~~,~):{{r}({i11},):%%{rep}%%}}}}}}}\n{=(rep):{{r}(~~,~):{{r}({i12},):{rep}}}}\n{=(i13):{#:{{r}(%%,):{{r}(~%%,):{{r}(%%~,):{{r}(~~,~):{{r}({i12},):%%{rep}%%}}}}}}}\n{=(rep):{{r}(~~,~):{{r}({i13},):{rep}}}}\n{=(i14):{#:{{r}(%%,):{{r}(~%%,):{{r}(%%~,):{{r}(~~,~):{{r}({i13},):%%{rep}%%}}}}}}}\n{=(rep):{{r}(~~,~):{{r}({i14},):{rep}}}}\n{=(i15):{#:{{r}(%%,):{{r}(~%%,):{{r}(%%~,):{{r}(~~,~):{{r}({i14},):%%{rep}%%}}}}}}}\n\n{=(pickedAll):{i1}~{i2}~{i3}~{i4}~{i5}~{i6}~{i7}~{i8}~{i9}~{i10}~{i11}~{i12}~{i13}~{i14}~{i15}}\n\n{=(picked):{{r}(~,\n):{pickedAll(+{amt}):~}}}\n\n{=(tag):{prefix}{tagname}}\n\n{=(msg.help):Specify a **number** of elements to pick and a **list** of elements to pick from, separated by the `~` character.\n\n**Usage**```css\n{tag} <number> <list of elements>\n```\n**Example**```css\n{tag} 2 first element~also another~an item\n```}\n{=(msg.tooMuch):The amount of elements to pick from you specified (**`{amt}`**) is superior than the amount of elements in the list you provided (**`{lenEl}`**).\nPlease make sure that the first argument is lower or equal to the length of your list of elements.}\n{=(msg.picked):**[{amt}] Your Winner...**\n{picked}}\n\n{=(isAmountOk):{and({m:sgn({amt})}==1|{amt}<={lenEl}):true|false}}\n{=(isList):{if(!={rawel}):true|false}}\n\n{=(msg):msg.help msg.tooMuch msg.picked}\n{=(toReturn):msg({index(false):0 {isAmountOk} {isList} false})}\n\n\n{=(em.title):FB Wheel}\n{=(em.desc):{{{toReturn}}}}\n\n{=(debug):__Debug:__\n**Values**\namount: ```\n{amt} ```\nel: ```{el} ```\nrawel: ```\n{rawel} ```\npickedAll: ```\n{pickedAll}```\n**Checks**\nlenEl: `{lenEl}`\nisAmountOk: `{isAmountOk}`\nisList: `{isList}`\n\n**Output**\npicked:\n```\n{picked} ```\nem.desc:\n{em.desc}\n}",
"embed": "{\"color\": 16743805, \"title\": \"{em.title}\", \"description\": \"{em.desc}\"}",
"last_fetched": "2026-10-20T17:07:44.378Z"
}