getid

Privateunrated

Content

15 lines
{=(uid):{replace(!,):{replace(<@,):{replace(>,):{1}}}}}
{=(chanid):{replace(<#,):{replace(>,):{1}}}}
{=(spacemo):{replace(, ):{1}}}
{=(eid):{replace(>,):{join():{spacemo(0+)::}}}}

{=(error):You need to mention a channel, an emoji or a user for me to give you its ID.
Usage: `[p]getid [channel - emoji - user mention]`}

{=(COMMENT):Checks.}
{=(userc):{if({in(@):{1}}==true):true|false}}
{=(chanc):{if({in(<#):{1}}==true):true|false}}
{=(emoc):{any({in(<:):{1}}==true|{in(<a:):{1}}==true):true|false}}

{=(output):{if({args}==):{error}|{if({userc}==true):{uid}|{if({chanc}==true):{chanid}|{if({emoc}==true):{eid}|{error}}}}}}
{output}
Raw JSON
{
  "id": 120725,
  "created_at": "2020-02-17T00:37:01.000Z",
  "tag_name": "getid",
  "nsfw": false,
  "owner_id": "246276708242554890",
  "uses": 4,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "506752848306896897",
  "sharer": "246276708242554890",
  "content": "{=(uid):{replace(!,):{replace(<@,):{replace(>,):{1}}}}}\n{=(chanid):{replace(<#,):{replace(>,):{1}}}}\n{=(spacemo):{replace(, ):{1}}}\n{=(eid):{replace(>,):{join():{spacemo(0+)::}}}}\n\n{=(error):You need to mention a channel, an emoji or a user for me to give you its ID.\nUsage: `[p]getid [channel - emoji - user mention]`}\n\n{=(COMMENT):Checks.}\n{=(userc):{if({in(@):{1}}==true):true|false}}\n{=(chanc):{if({in(<#):{1}}==true):true|false}}\n{=(emoc):{any({in(<:):{1}}==true|{in(<a:):{1}}==true):true|false}}\n\n{=(output):{if({args}==):{error}|{if({userc}==true):{uid}|{if({chanc}==true):{chanid}|{if({emoc}==true):{eid}|{error}}}}}}\n{output}",
  "embed": "{}",
  "last_fetched": "2026-10-20T20:57:25.711Z"
}