majorityof
Calculates the majority of the supplied number—that is, the number of people needed to form a majority of a group of the specified size. Useful for voting management and similar.
PrivateRestrictedunrated
Content
1 line{break({args}==):Please supply either one or two numbers, like `//majorityof 8`, `//majorityof 15 without 2`, or `//majorityof 12 - 5`.}{=(n):{any({2}==without|{2}==-):{m:trunc({1}-{3})}|{m:trunc({1})}}}The majority of {n} is {m:trunc(({n}/2)+1)}.Raw JSON
{
"id": 72516,
"created_at": "2019-09-16T20:48:18.000Z",
"tag_name": "majorityof",
"nsfw": false,
"owner_id": "235946858193616906",
"uses": 39,
"description": "Calculates the majority of the supplied number—that is, the number of people needed to form a majority of a group of the specified size. Useful for voting management and similar.",
"restricted": true,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "598937078889185323",
"sharer": "235946858193616906",
"content": "{break({args}==):Please supply either one or two numbers, like `//majorityof 8`, `//majorityof 15 without 2`, or `//majorityof 12 - 5`.}{=(n):{any({2}==without|{2}==-):{m:trunc({1}-{3})}|{m:trunc({1})}}}The majority of {n} is {m:trunc(({n}/2)+1)}.",
"embed": "{}",
"last_fetched": "2026-10-20T20:35:32.075Z"
}