[{"data":1,"prerenderedAt":752},["ShallowReactive",2],{"navigation":3,"\u002Ftelegram-bot\u002Fholders-cmds-custom-commands":303,"\u002Ftelegram-bot\u002Fholders-cmds-custom-commands-surround":747},[4,50,79,88,129,166,207,220,245,270,287],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Telegram Bot",false,"\u002Ftelegram-bot","01.telegram-bot",[10,14,18,22,26,30,34,38,42,46],{"title":11,"path":12,"stem":13},"The \u002Fmenu control panel","\u002Ftelegram-bot\u002Fmenu-access-menu","01.telegram-bot\u002F01.menu-access-menu",{"title":15,"path":16,"stem":17},"Groups and access","\u002Ftelegram-bot\u002Fmenu-access-groups","01.telegram-bot\u002F02.menu-access-groups",{"title":19,"path":20,"stem":21},"\u002Fholders","\u002Ftelegram-bot\u002Fholders-cmds-holders","01.telegram-bot\u002F03.holders-cmds-holders",{"title":23,"path":24,"stem":25},"Custom commands","\u002Ftelegram-bot\u002Fholders-cmds-custom-commands","01.telegram-bot\u002F04.holders-cmds-custom-commands",{"title":27,"path":28,"stem":29},"MP3 downloader","\u002Ftelegram-bot\u002Ftools-mp3-downloader","01.telegram-bot\u002F05.tools-mp3-downloader",{"title":31,"path":32,"stem":33},"Image edit presets","\u002Ftelegram-bot\u002Ftools-image-edit-presets","01.telegram-bot\u002F06.tools-image-edit-presets",{"title":35,"path":36,"stem":37},"Reference images","\u002Ftelegram-bot\u002Ftools-reference-images","01.telegram-bot\u002F07.tools-reference-images",{"title":39,"path":40,"stem":41},"Queue and GPU status","\u002Ftelegram-bot\u002Ftools-queue-gpu-status","01.telegram-bot\u002F08.tools-queue-gpu-status",{"title":43,"path":44,"stem":45},"Owner controls","\u002Ftelegram-bot\u002Fowner-controls","01.telegram-bot\u002F09.owner-controls",{"title":47,"path":48,"stem":49},"Moderation","\u002Ftelegram-bot\u002Fowner-moderation","01.telegram-bot\u002F10.owner-moderation",{"title":51,"icon":6,"path":52,"stem":53,"children":54,"page":6},"Buy Bot","\u002Fbuy-bot","02.buy-bot",[55,59,63,67,71,75],{"title":56,"path":57,"stem":58},"Buy bot setup","\u002Fbuy-bot\u002Fbuybot-setup","02.buy-bot\u002F01.buybot-setup",{"title":60,"path":61,"stem":62},"Commands and the settings card","\u002Fbuy-bot\u002Fbuybot-commands","02.buy-bot\u002F02.buybot-commands",{"title":64,"path":65,"stem":66},"Message layout","\u002Fbuy-bot\u002Fbuybot-msg-layout","02.buy-bot\u002F03.buybot-msg-layout",{"title":68,"path":69,"stem":70},"Forking a layout and paste-to-import","\u002Fbuy-bot\u002Fbuybot-msg-fork","02.buy-bot\u002F04.buybot-msg-fork",{"title":72,"path":73,"stem":74},"Media","\u002Fbuy-bot\u002Fbuybot-msg-media","02.buy-bot\u002F05.buybot-msg-media",{"title":76,"path":77,"stem":78},"Chains, links and limits","\u002Fbuy-bot\u002Fbuybot-chains","02.buy-bot\u002F06.buybot-chains",{"title":80,"icon":6,"path":81,"stem":82,"children":83,"page":6},"Raid Bot","\u002Fraid-bot","03.raid-bot",[84],{"title":85,"path":86,"stem":87},"Raid bot","\u002Fraid-bot\u002Fraid-bot","03.raid-bot\u002F01.raid-bot",{"title":89,"icon":6,"path":90,"stem":91,"children":92,"page":6},"X Automations","\u002Fx-automations","04.x-automations",[93,97,101,105,109,113,117,121,125],{"title":94,"path":95,"stem":96},"What an automation is, and the master switch","\u002Fx-automations\u002Fxauto-what-it-is","04.x-automations\u002F01.xauto-what-it-is",{"title":98,"path":99,"stem":100},"Feed automations","\u002Fx-automations\u002Fxauto-feed","04.x-automations\u002F02.xauto-feed",{"title":102,"path":103,"stem":104},"Phrase automations","\u002Fx-automations\u002Fxauto-phrase","04.x-automations\u002F03.xauto-phrase",{"title":106,"path":107,"stem":108},"Follow tracker","\u002Fx-automations\u002Fxauto-follow","04.x-automations\u002F04.xauto-follow",{"title":110,"path":111,"stem":112},"Rules","\u002Fx-automations\u002Fxrules-rules","04.x-automations\u002F05.xrules-rules",{"title":114,"path":115,"stem":116},"Recap","\u002Fx-automations\u002Fxrules-recap","04.x-automations\u002F06.xrules-recap",{"title":118,"path":119,"stem":120},"Posts on demand, follower lists, and contract-address cards","\u002Fx-automations\u002Fxrules-posts-lists-ca","04.x-automations\u002F07.xrules-posts-lists-ca",{"title":122,"path":123,"stem":124},"Forum topics","\u002Fx-automations\u002Fxrules-forum-topics","04.x-automations\u002F08.xrules-forum-topics",{"title":126,"path":127,"stem":128},"Card layouts and limits","\u002Fx-automations\u002Fxrules-cards-limits","04.x-automations\u002F09.xrules-cards-limits",{"title":130,"icon":6,"path":131,"stem":132,"children":133,"page":6},"Multi-Chain Scanner","\u002Fscanner","05.scanner",[134,138,142,146,150,154,158,162],{"title":135,"path":136,"stem":137},"Pasting a contract address","\u002Fscanner\u002Fscan-paste-ca","05.scanner\u002F01.scan-paste-ca",{"title":139,"path":140,"stem":141},"Every link format recognised","\u002Fscanner\u002Fscan-link-formats","05.scanner\u002F02.scan-link-formats",{"title":143,"path":144,"stem":145},"The coin card","\u002Fscanner\u002Fscan-coin-card","05.scanner\u002F03.scan-coin-card",{"title":147,"path":148,"stem":149},"Chains and data sources","\u002Fscanner\u002Fscan-chains-sources","05.scanner\u002F04.scan-chains-sources",{"title":151,"path":152,"stem":153},"Calls","\u002Fscanner\u002Fcalls-recording","05.scanner\u002F05.calls-recording",{"title":155,"path":156,"stem":157},"Milestone alerts","\u002Fscanner\u002Fcalls-milestones","05.scanner\u002F06.calls-milestones",{"title":159,"path":160,"stem":161},"The calls commands","\u002Fscanner\u002Fcalls-commands","05.scanner\u002F07.calls-commands",{"title":163,"path":164,"stem":165},"Turning the scanner on and off","\u002Fscanner\u002Fcalls-toggle","05.scanner\u002F08.calls-toggle",{"title":167,"icon":6,"path":168,"stem":169,"children":170,"page":6},"Creator Tools","\u002Fcreator-tools","06.creator-tools",[171,175,179,183,187,191,195,199,203],{"title":172,"path":173,"stem":174},"Emoji packs: the three creation modes","\u002Fcreator-tools\u002Femoji-pack-modes","06.creator-tools\u002F01.emoji-pack-modes",{"title":176,"path":177,"stem":178},"The coin creator in Telegram","\u002Fcreator-tools\u002Femoji-coin-creator","06.creator-tools\u002F02.emoji-coin-creator",{"title":180,"path":181,"stem":182},"The coin studio on the web","\u002Fcreator-tools\u002Femoji-coin-studio","06.creator-tools\u002F03.emoji-coin-studio",{"title":184,"path":185,"stem":186},"Pack management and fleet minting","\u002Fcreator-tools\u002Femoji-pack-management","06.creator-tools\u002F04.emoji-pack-management",{"title":188,"path":189,"stem":190},"The banner creator","\u002Fcreator-tools\u002Fbanner-creator","06.creator-tools\u002F05.banner-creator",{"title":192,"path":193,"stem":194},"Dividers","\u002Fcreator-tools\u002Fbanner-dividers","06.creator-tools\u002F06.banner-dividers",{"title":196,"path":197,"stem":198},"What a hyperlink nav is","\u002Fcreator-tools\u002Fnav-what-it-is","06.creator-tools\u002F07.nav-what-it-is",{"title":200,"path":201,"stem":202},"Building a nav from links","\u002Fcreator-tools\u002Fnav-building-from-links","06.creator-tools\u002F08.nav-building-from-links",{"title":204,"path":205,"stem":206},"Presets, buckets and caps","\u002Fcreator-tools\u002Fnav-presets-buckets-caps","06.creator-tools\u002F09.nav-presets-buckets-caps",{"title":208,"icon":6,"path":209,"stem":210,"children":211,"page":6},"Reference","\u002Freference","07.reference",[212,216],{"title":213,"path":214,"stem":215},"The complete command table","\u002Freference\u002Freference-commands","07.reference\u002F01.reference-commands",{"title":217,"path":218,"stem":219},"All limits in one place","\u002Freference\u002Freference-limits","07.reference\u002F02.reference-limits",{"title":221,"icon":6,"path":222,"stem":223,"children":224,"page":6},"Platform","\u002Fplatform","08.platform",[225,229,233,237,241],{"title":226,"path":227,"stem":228},"Start here","\u002Fplatform\u002Fplatform-start-here","08.platform\u002F01.platform-start-here",{"title":230,"path":231,"stem":232},"Platform overview","\u002Fplatform\u002Fplatform-overview","08.platform\u002F02.platform-overview",{"title":234,"path":235,"stem":236},"Compute and X agents","\u002Fplatform\u002Fplatform-compute","08.platform\u002F03.platform-compute",{"title":238,"path":239,"stem":240},"Plans and billing","\u002Fplatform\u002Fplatform-plans","08.platform\u002F04.platform-plans",{"title":242,"path":243,"stem":244},"Account security","\u002Fplatform\u002Fplatform-security","08.platform\u002F05.platform-security",{"title":246,"icon":6,"path":247,"stem":248,"children":249,"page":6},"Generation","\u002Fgeneration","09.generation",[250,254,258,262,266],{"title":251,"path":252,"stem":253},"Generating an image","\u002Fgeneration\u002Fgeneration-how","09.generation\u002F01.generation-how",{"title":255,"path":256,"stem":257},"Speed and concurrency","\u002Fgeneration\u002Fgeneration-performance","09.generation\u002F02.generation-performance",{"title":259,"path":260,"stem":261},"The dataset and training","\u002Fgeneration\u002Fgeneration-model-training","09.generation\u002F03.generation-model-training",{"title":263,"path":264,"stem":265},"The gallery site","\u002Fgeneration\u002Fgeneration-gallery","09.generation\u002F04.generation-gallery",{"title":267,"path":268,"stem":269},"Built-in tools","\u002Fgeneration\u002Fgeneration-builtin-tools","09.generation\u002F05.generation-builtin-tools",{"title":271,"icon":6,"path":272,"stem":273,"children":274,"page":6},"Group Access","\u002Fgroup-access","10.group-access",[275,279,283],{"title":276,"path":277,"stem":278},"Authorizing a chat","\u002Fgroup-access\u002Faccess-allowlist","10.group-access\u002F01.access-allowlist",{"title":280,"path":281,"stem":282},"Notifications and live configuration","\u002Fgroup-access\u002Faccess-notifications","10.group-access\u002F02.access-notifications",{"title":284,"path":285,"stem":286},"Data, answers and support","\u002Fgroup-access\u002Faccess-reference","10.group-access\u002F03.access-reference",{"title":47,"icon":6,"path":288,"stem":289,"children":290,"page":6},"\u002Fmoderation","11.moderation",[291,295,299],{"title":292,"path":293,"stem":294},"Moderating users","\u002Fmoderation\u002Fmoderation-users","11.moderation\u002F01.moderation-users",{"title":296,"path":297,"stem":298},"Custom commands and content policy","\u002Fmoderation\u002Fmoderation-policy","11.moderation\u002F02.moderation-policy",{"title":300,"path":301,"stem":302},"Troubleshooting and glossary","\u002Fmoderation\u002Fmoderation-reference","11.moderation\u002F03.moderation-reference",{"id":304,"title":23,"body":305,"description":740,"extension":741,"links":742,"meta":743,"navigation":744,"path":24,"seo":745,"stem":25,"__hash__":746},"docs\u002F01.telegram-bot\u002F04.holders-cmds-custom-commands.md",{"type":306,"value":307,"toc":729},"minimark",[308,317,322,332,335,339,342,347,428,431,435,438,444,500,511,515,518,523,587,591,625,628,631,656,660,664,692,702,706,717,720],[309,310,311,312,316],"p",{},"Text commands and button commands are built from the same modal in the dashboard's ",[313,314,315],"strong",{},"Commands"," tab. A command saved with buttons attached is a button command; one without is a text command.",[318,319,321],"h2",{"id":320},"one-modal-two-kinds-of-command","One modal, two kinds of command",[309,323,324,325,327,328,331],{},"The ",[313,326,315],{}," tab lists every command for the bot and adds new ones with ",[313,329,330],{},"Add Command",". The trigger is letters, numbers and underscore; the response is rich text.",[309,333,334],{},"Save with no buttons and you get a text command; attach at least one and you get a button command. Editing can flip a command either way: remove every button to make it a text command, or add one to make it a button command.",[318,336,338],{"id":337},"the-button-board","The button board",[309,340,341],{},"Each button has a label, a URL, a colour, a layout and an optional premium-emoji icon.",[343,344,346],"h4",{"id":345},"button-board-limits","Button board limits",[348,349,350,363],"table",{},[351,352,353],"thead",{},[354,355,356,360],"tr",{},[357,358,359],"th",{},"Setting",[357,361,362],{},"Value",[364,365,366,375,383,405,413],"tbody",{},[354,367,368,372],{},[369,370,371],"td",{},"Buttons per command",[369,373,374],{},"12",[354,376,377,380],{},[369,378,379],{},"Label length",[369,381,382],{},"64 characters",[354,384,385,388],{},[369,386,387],{},"URL scheme",[369,389,390,394,395,397,398,401,402],{},[391,392,393],"code",{},"https:\u002F\u002F"," only. A bare host gets ",[391,396,393],{}," added; an ",[391,399,400],{},"http:\u002F\u002F"," URL is rejected on save: ",[391,403,404],{},"Button URLs must use HTTPS",[354,406,407,410],{},[369,408,409],{},"Colours",[369,411,412],{},"Gray (default), Blue, Green, Red",[354,414,415,418],{},[369,416,417],{},"Layout",[369,419,420,423,424,427],{},[313,421,422],{},"Horizontal"," or ",[313,425,426],{},"Stacked"," — Stacked is the default",[309,429,430],{},"A button can carry one premium emoji next to its label, picked from your own emoji packs or pasted as a premium emoji ID (5 to 32 digits).",[318,432,434],{"id":433},"the-response-editor","The response editor",[309,436,437],{},"Selecting text inside the response field pops up a formatting toolbar.",[309,439,440],{},[441,442,443],"em",{},"Selection toolbar",[348,445,446,456],{},[351,447,448],{},[354,449,450,453],{},[357,451,452],{},"Button",[357,454,455],{},"Does",[364,457,458,466,474,482,492],{},[354,459,460,463],{},[369,461,462],{},"Bold, Italic, Underline, Strikethrough",[369,464,465],{},"Standard text formatting",[354,467,468,471],{},[369,469,470],{},"Monospace",[369,472,473],{},"Code formatting",[354,475,476,479],{},[369,477,478],{},"Spoiler",[369,480,481],{},"Telegram spoiler",[354,483,484,487],{},[369,485,486],{},"Hyperlink",[369,488,489,490],{},"Turns the selection into a link — the URL must start with ",[391,491,393],{},[354,493,494,497],{},[369,495,496],{},"Remove link",[369,498,499],{},"Strips a link back to plain text",[309,501,502,503,506,507,510],{},"The modal toolbar also has ",[313,504,505],{},"Undo"," \u002F ",[313,508,509],{},"Redo",", a premium emoji inserter and a divider inserter. The divider inserter includes an invisible spacer that adds blank space where Telegram normally allows none.",[318,512,514],{"id":513},"the-trigger-namespace","The trigger namespace",[309,516,517],{},"A trigger must be unique across every text command, button command and character trigger on the same bot.",[309,519,520],{},[441,521,522],{},"Trigger validation errors",[348,524,525,535],{},[351,526,527],{},[354,528,529,532],{},[357,530,531],{},"Situation",[357,533,534],{},"Message",[364,536,537,547,557,567,577],{},[354,538,539,542],{},[369,540,541],{},"Bad format",[369,543,544],{},[391,545,546],{},"Trigger must be alphanumeric (letters, numbers, underscore only)",[354,548,549,552],{},[369,550,551],{},"Matches a character's trigger",[369,553,554],{},[391,555,556],{},"Trigger cannot be the same as a character command (\u002Fx)",[354,558,559,562],{},[369,560,561],{},"Matches another text command",[369,563,564],{},[391,565,566],{},"Command with trigger \"x\" already exists",[354,568,569,572],{},[369,570,571],{},"Matches another button command",[369,573,574],{},[391,575,576],{},"Button command with trigger \"x\" already exists",[354,578,579,582],{},[369,580,581],{},"A text and a button command would share one trigger",[369,583,584],{},[391,585,586],{},"A button command with trigger \"x\" already exists. Triggers must be unique across text and button commands.",[343,588,590],{"id":589},"slash-optional","Slash optional",[348,592,593,603],{},[351,594,595],{},[354,596,597,600],{},[357,598,599],{},"Input",[357,601,602],{},"Output",[364,604,605,615],{},[354,606,607,610],{},[369,608,609],{},"Saved trigger",[369,611,612],{},[391,613,614],{},"ca",[354,616,617,620],{},[369,618,619],{},"All of these match",[369,621,622],{},[391,623,624],{},"\u002Fca     \u002Fca@yourbotusername     ca",[309,626,627],{},"Built-in commands are matched first, so a custom command whose trigger matches one of them doesn't get to answer. Custom commands answer in any chat the bot is in — they don't check the allowed-groups list.",[309,629,630],{},"A character's trigger command can't be renamed to one of these 7 built-in words:",[632,633,634,638,641,644,647,650,653],"ul",{},[635,636,637],"li",{},"start",[635,639,640],{},"commands",[635,642,643],{},"getid",[635,645,646],{},"whoisactive",[635,648,649],{},"holders",[635,651,652],{},"ban",[635,654,655],{},"mute",[318,657,659],{"id":658},"limits","Limits",[343,661,663],{"id":662},"per-command-limits","Per-command limits",[348,665,666,674],{},[351,667,668],{},[354,669,670,672],{},[357,671,359],{},[357,673,362],{},[364,675,676,684],{},[354,677,678,681],{},[369,679,680],{},"Visible reply length",[369,682,683],{},"4096 characters — Telegram's cap",[354,685,686,689],{},[369,687,688],{},"Stored markup size",[369,690,691],{},"64 KiB",[309,693,694,695,423,698,701],{},"Over either limit, saving fails with ",[391,696,697],{},"Response markup is too large",[391,699,700],{},"Response exceeds Telegram's 4096 character limit (N visible characters)",".",[318,703,705],{"id":704},"hyperlink-navigation-entries","Hyperlink navigation entries",[707,708,709,714],"blockquote",{},[309,710,711],{},[313,712,713],{},"Beta",[309,715,716],{},"Hyperlink navigation is currently in beta.",[309,718,719],{},"The Commands tab can edit a hyperlink navigation entry but not create one — new ones start from the Beta tab's nav builder. A nav entry can't be cloned or converted to a button command.",[632,721,722],{},[635,723,724],{},[725,726,728],"a",{"href":727},"#nav-what-it-is","Hyperlink navigation",{"title":730,"searchDepth":731,"depth":732,"links":733},"",1,2,[734,735,736,737,738,739],{"id":320,"depth":732,"text":321},{"id":337,"depth":732,"text":338},{"id":433,"depth":732,"text":434},{"id":513,"depth":732,"text":514},{"id":658,"depth":732,"text":659},{"id":704,"depth":732,"text":705},"Text commands and button commands are built from the same modal in the dashboard's **Commands** tab. A command saved with buttons attached is a button…","md",null,{},true,{"title":23,"description":740},"EwqosGWYVwwqgy6P-xAN2iEep63vtBlbDiet8p0t2Wk",[748,750],{"title":19,"path":20,"stem":21,"description":749,"children":-1},"`\u002Fholders` replies with the live holder count of one token, set per bot from the dashboard. It works in groups and in a DM with the bot.",{"title":27,"path":28,"stem":29,"description":751,"children":-1},"Paste a SoundCloud or YouTube link in an authorized chat, or send `\u002Fdownload` \u002F `\u002Fmp3`, and the bot replies with the track as a 320 kbps MP3.",1789499396510]