getid
Allows you to get the ID of any channel, emoji (except the default ones of course) and user. There are several ways of getting these IDs, but I told myself I would make one single command to retrieve such IDs. Tag made by Asty'. May it be useful for you. Enjoy!
Sharedunrated
Content
15 lines{=(uid):{replace(!,):{replace(<@,):{replace(>,):{args}}}}}
{=(chanid):{replace(<#,):{replace(>,):{args}}}}
{=(spacemo):{replace(, ):{1}}}
{=(eid2):{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(1)}==):{error}|{if({userc}==true):{uid}|{if({chanc}==true):{chanid}|{if({emoc}==true):`{args}`|{error}}}}}}
{output}Raw JSON
{
"id": 120698,
"created_at": "2020-02-16T23:03:59.000Z",
"tag_name": "getid",
"nsfw": false,
"owner_id": "149926720114262016",
"uses": 91,
"description": "Allows you to get the ID of any channel, emoji (except the default ones of course) and user.\n\nThere are several ways of getting these IDs, but I told myself I would make one single command to retrieve such IDs.\n\nTag made by Asty'. May it be useful for you. Enjoy!",
"restricted": false,
"shared": true,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "314660900302749696",
"sharer": "149926720114262016",
"content": "{=(uid):{replace(!,):{replace(<@,):{replace(>,):{args}}}}}\n{=(chanid):{replace(<#,):{replace(>,):{args}}}}\n{=(spacemo):{replace(, ):{1}}}\n{=(eid2):{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(1)}==):{error}|{if({userc}==true):{uid}|{if({chanc}==true):{chanid}|{if({emoc}==true):`{args}`|{error}}}}}}\n{output}",
"embed": "{}",
"last_fetched": "2026-10-20T20:56:51.177Z"
}