[{"data":1,"prerenderedAt":929},["ShallowReactive",2],{"navigation:en":3,"page:en:\u002Fguide\u002Flifecycle":493,"surround:en:\u002Fguide\u002Flifecycle":924},[4,86],{"title":5,"path":6,"stem":7,"children":8,"group":84,"icon":85},"Guide","\u002Fguide","1.guide\u002F01.index",[9,12,16,20,25,29,33,37,41,45,50,54,58,63,67,71,76,80],{"title":10,"path":6,"stem":7,"group":11},"Introduction","Get started",{"title":13,"path":14,"stem":15,"group":11},"Getting started","\u002Fguide\u002Fgetting-started","1.guide\u002F02.getting-started",{"title":17,"path":18,"stem":19,"group":11},"Getting help","\u002Fguide\u002Fhelp","1.guide\u002F03.help",{"title":21,"path":22,"stem":23,"group":24},"The editor","\u002Fguide\u002Feditor","1.guide\u002F04.editor","Build",{"title":26,"path":27,"stem":28,"group":24},"How data flows","\u002Fguide\u002Fdata-flow","1.guide\u002F05.data-flow",{"title":30,"path":31,"stem":32,"group":24},"Expressions","\u002Fguide\u002Fexpressions","1.guide\u002F06.expressions",{"title":34,"path":35,"stem":36,"group":24},"Conditions","\u002Fguide\u002Fconditions","1.guide\u002F07.conditions",{"title":38,"path":39,"stem":40,"group":24},"Variables","\u002Fguide\u002Fvariables","1.guide\u002F08.variables",{"title":42,"path":43,"stem":44,"group":24},"Waiting and scheduling","\u002Fguide\u002Fwait-and-schedule","1.guide\u002F09.wait-and-schedule",{"title":46,"path":47,"stem":48,"group":49},"Commands","\u002Fguide\u002Fcommand-builder","1.guide\u002F10.command-builder","Builders",{"title":51,"path":52,"stem":53,"group":49},"Messages","\u002Fguide\u002Fmessage-builder","1.guide\u002F11.message-builder",{"title":55,"path":56,"stem":57,"group":49},"Forms","\u002Fguide\u002Fmodal-builder","1.guide\u002F12.modal-builder",{"title":59,"path":60,"stem":61,"group":62},"Test mode","\u002Fguide\u002Ftest-mode","1.guide\u002F13.test-mode","Test and go live",{"title":64,"path":65,"stem":66,"group":62},"Lifecycle","\u002Fguide\u002Flifecycle","1.guide\u002F14.lifecycle",{"title":68,"path":69,"stem":70,"group":62},"Limits and credits","\u002Fguide\u002Flimits","1.guide\u002F15.limits",{"title":72,"path":73,"stem":74,"group":75},"Team and permissions","\u002Fguide\u002Fteam","1.guide\u002F16.team","Manage your server",{"title":77,"path":78,"stem":79,"group":75},"Following your Blueprints","\u002Fguide\u002Ffollow","1.guide\u002F17.follow",{"title":81,"path":82,"stem":83,"group":11},"Templates","\u002Fguide\u002Ftemplates","1.guide\u002F18.templates",null,false,{"title":87,"group":84,"icon":85,"path":88,"stem":89,"children":90,"page":85},"Reference","\u002Freference","2.reference",[91,232,476,481,485,489],{"title":92,"group":84,"icon":85,"path":93,"stem":94,"children":95,"page":85},"Events","\u002Freference\u002Fevents","2.reference\u002F2.events",[96,126,144,158,174,200,213,223],{"title":97,"path":98,"stem":99,"children":100,"group":84,"badge":125},"Interactions","\u002Freference\u002Fevents\u002Finteraction","2.reference\u002F2.events\u002F01.interaction",[101,105,109,113,117,121],{"title":102,"path":103,"stem":104,"group":84},"Slash Command","\u002Freference\u002Fevents\u002Finteraction\u002Fslash-command","2.reference\u002F2.events\u002F01.interaction\u002F01.slash-command",{"title":106,"path":107,"stem":108,"group":84},"User Context Menu","\u002Freference\u002Fevents\u002Finteraction\u002Fcontext-menu-user","2.reference\u002F2.events\u002F01.interaction\u002F02.context-menu-user",{"title":110,"path":111,"stem":112,"group":84},"Message Context Menu","\u002Freference\u002Fevents\u002Finteraction\u002Fcontext-menu-message","2.reference\u002F2.events\u002F01.interaction\u002F03.context-menu-message",{"title":114,"path":115,"stem":116,"group":84},"Button Clicked","\u002Freference\u002Fevents\u002Finteraction\u002Fbutton","2.reference\u002F2.events\u002F01.interaction\u002F04.button",{"title":118,"path":119,"stem":120,"group":84},"Select Menu Used","\u002Freference\u002Fevents\u002Finteraction\u002Fselect-menu","2.reference\u002F2.events\u002F01.interaction\u002F05.select-menu",{"title":122,"path":123,"stem":124,"group":84},"Modal Submitted","\u002Freference\u002Fevents\u002Finteraction\u002Fmodal-submit","2.reference\u002F2.events\u002F01.interaction\u002F06.modal-submit",6,{"title":127,"path":128,"stem":129,"children":130,"group":84,"badge":143},"Members","\u002Freference\u002Fevents\u002Fmember","2.reference\u002F2.events\u002F02.member",[131,135,139],{"title":132,"path":133,"stem":134,"group":84},"Member Added","\u002Freference\u002Fevents\u002Fmember\u002Fmember-added","2.reference\u002F2.events\u002F02.member\u002F01.member-added",{"title":136,"path":137,"stem":138,"group":84},"Member Removed","\u002Freference\u002Fevents\u002Fmember\u002Fmember-removed","2.reference\u002F2.events\u002F02.member\u002F02.member-removed",{"title":140,"path":141,"stem":142,"group":84},"Member updated","\u002Freference\u002Fevents\u002Fmember\u002Fmember-updated","2.reference\u002F2.events\u002F02.member\u002F03.member-updated",3,{"title":145,"path":146,"stem":147,"children":148,"group":84,"badge":157},"Moderation","\u002Freference\u002Fevents\u002Fmoderation","2.reference\u002F2.events\u002F03.moderation",[149,153],{"title":150,"path":151,"stem":152,"group":84},"Member banned","\u002Freference\u002Fevents\u002Fmoderation\u002Fmember-banned","2.reference\u002F2.events\u002F03.moderation\u002F01.member-banned",{"title":154,"path":155,"stem":156,"group":84},"Member unbanned","\u002Freference\u002Fevents\u002Fmoderation\u002Fmember-unbanned","2.reference\u002F2.events\u002F03.moderation\u002F02.member-unbanned",2,{"title":51,"path":159,"stem":160,"children":161,"group":84,"badge":143},"\u002Freference\u002Fevents\u002Fmessage","2.reference\u002F2.events\u002F04.message",[162,166,170],{"title":163,"path":164,"stem":165,"group":84},"Message Created","\u002Freference\u002Fevents\u002Fmessage\u002Fmessage-created","2.reference\u002F2.events\u002F04.message\u002F01.message-created",{"title":167,"path":168,"stem":169,"group":84},"Message Updated","\u002Freference\u002Fevents\u002Fmessage\u002Fmessage-updated","2.reference\u002F2.events\u002F04.message\u002F02.message-updated",{"title":171,"path":172,"stem":173,"group":84},"Message Deleted","\u002Freference\u002Fevents\u002Fmessage\u002Fmessage-deleted","2.reference\u002F2.events\u002F04.message\u002F03.message-deleted",{"title":175,"path":176,"stem":177,"children":178,"group":84,"badge":199},"Channels and roles","\u002Freference\u002Fevents\u002Fchannel","2.reference\u002F2.events\u002F05.channel",[179,183,187,191,195],{"title":180,"path":181,"stem":182,"group":84},"Channel Created","\u002Freference\u002Fevents\u002Fchannel\u002Fchannel-created","2.reference\u002F2.events\u002F05.channel\u002F01.channel-created",{"title":184,"path":185,"stem":186,"group":84},"Channel Deleted","\u002Freference\u002Fevents\u002Fchannel\u002Fchannel-deleted","2.reference\u002F2.events\u002F05.channel\u002F02.channel-deleted",{"title":188,"path":189,"stem":190,"group":84},"Role Created","\u002Freference\u002Fevents\u002Fchannel\u002Frole-created","2.reference\u002F2.events\u002F05.channel\u002F03.role-created",{"title":192,"path":193,"stem":194,"group":84},"Role Deleted","\u002Freference\u002Fevents\u002Fchannel\u002Frole-deleted","2.reference\u002F2.events\u002F05.channel\u002F04.role-deleted",{"title":196,"path":197,"stem":198,"group":84},"Server Updated","\u002Freference\u002Fevents\u002Fchannel\u002Fguild-update","2.reference\u002F2.events\u002F05.channel\u002F05.guild-update",5,{"title":201,"path":202,"stem":203,"children":204,"group":84,"badge":157},"Reactions","\u002Freference\u002Fevents\u002Freaction","2.reference\u002F2.events\u002F06.reaction",[205,209],{"title":206,"path":207,"stem":208,"group":84},"Reaction Added","\u002Freference\u002Fevents\u002Freaction\u002Freaction-added","2.reference\u002F2.events\u002F06.reaction\u002F01.reaction-added",{"title":210,"path":211,"stem":212,"group":84},"Reaction Removed","\u002Freference\u002Fevents\u002Freaction\u002Freaction-removed","2.reference\u002F2.events\u002F06.reaction\u002F02.reaction-removed",{"title":214,"path":215,"stem":216,"children":217,"group":84,"badge":222},"Voice","\u002Freference\u002Fevents\u002Fvoice","2.reference\u002F2.events\u002F07.voice",[218],{"title":219,"path":220,"stem":221,"group":84},"Voice State Updated","\u002Freference\u002Fevents\u002Fvoice\u002Fvoice-state-update","2.reference\u002F2.events\u002F07.voice\u002F01.voice-state-update",1,{"title":224,"path":225,"stem":226,"children":227,"group":84,"badge":222},"Schedule","\u002Freference\u002Fevents\u002Fscheduled","2.reference\u002F2.events\u002F08.scheduled",[228],{"title":229,"path":230,"stem":231,"group":84},"Scheduled","\u002Freference\u002Fevents\u002Fscheduled\u002Fscheduled","2.reference\u002F2.events\u002F08.scheduled\u002F01.scheduled",{"title":233,"group":84,"icon":85,"path":234,"stem":235,"children":236,"page":85},"Actions","\u002Freference\u002Factions","2.reference\u002F3.actions",[237,258,303,319,343,360,402,414,443,467],{"title":97,"path":238,"stem":239,"children":240,"group":84,"badge":257},"\u002Freference\u002Factions\u002Finteraction","2.reference\u002F3.actions\u002F01.interaction",[241,245,249,253],{"title":242,"path":243,"stem":244,"group":84},"Reply to Interaction","\u002Freference\u002Factions\u002Finteraction\u002Freply-interaction","2.reference\u002F3.actions\u002F01.interaction\u002F01.reply-interaction",{"title":246,"path":247,"stem":248,"group":84},"Update Clicked Message","\u002Freference\u002Factions\u002Finteraction\u002Fupdate-interaction-message","2.reference\u002F3.actions\u002F01.interaction\u002F02.update-interaction-message",{"title":250,"path":251,"stem":252,"group":84},"Edit My Previous Reply","\u002Freference\u002Factions\u002Finteraction\u002Fedit-interaction-reply","2.reference\u002F3.actions\u002F01.interaction\u002F03.edit-interaction-reply",{"title":254,"path":255,"stem":256,"group":84},"Show Modal","\u002Freference\u002Factions\u002Finteraction\u002Fshow-modal","2.reference\u002F3.actions\u002F01.interaction\u002F04.show-modal",4,{"title":51,"path":259,"stem":260,"children":261,"group":84,"badge":302},"\u002Freference\u002Factions\u002Fmessage","2.reference\u002F3.actions\u002F02.message",[262,266,270,274,278,282,286,290,294,298],{"title":263,"path":264,"stem":265,"group":84},"Send Message","\u002Freference\u002Factions\u002Fmessage\u002Fsend-message","2.reference\u002F3.actions\u002F02.message\u002F01.send-message",{"title":267,"path":268,"stem":269,"group":84},"Edit Message","\u002Freference\u002Factions\u002Fmessage\u002Fedit-message","2.reference\u002F3.actions\u002F02.message\u002F02.edit-message",{"title":271,"path":272,"stem":273,"group":84},"Delete Message","\u002Freference\u002Factions\u002Fmessage\u002Fdelete-message","2.reference\u002F3.actions\u002F02.message\u002F03.delete-message",{"title":275,"path":276,"stem":277,"group":84},"Delete messages","\u002Freference\u002Factions\u002Fmessage\u002Fdelete-messages","2.reference\u002F3.actions\u002F02.message\u002F04.delete-messages",{"title":279,"path":280,"stem":281,"group":84},"Send Direct Message","\u002Freference\u002Factions\u002Fmessage\u002Fsend-dm","2.reference\u002F3.actions\u002F02.message\u002F05.send-dm",{"title":283,"path":284,"stem":285,"group":84},"Add Reaction","\u002Freference\u002Factions\u002Fmessage\u002Fadd-reaction","2.reference\u002F3.actions\u002F02.message\u002F06.add-reaction",{"title":287,"path":288,"stem":289,"group":84},"Remove reactions","\u002Freference\u002Factions\u002Fmessage\u002Fremove-reactions","2.reference\u002F3.actions\u002F02.message\u002F07.remove-reactions",{"title":291,"path":292,"stem":293,"group":84},"Pin a message","\u002Freference\u002Factions\u002Fmessage\u002Fpin-message","2.reference\u002F3.actions\u002F02.message\u002F08.pin-message",{"title":295,"path":296,"stem":297,"group":84},"Unpin a message","\u002Freference\u002Factions\u002Fmessage\u002Funpin-message","2.reference\u002F3.actions\u002F02.message\u002F09.unpin-message",{"title":299,"path":300,"stem":301,"group":84},"Publish an announcement","\u002Freference\u002Factions\u002Fmessage\u002Fcrosspost-message","2.reference\u002F3.actions\u002F02.message\u002F10.crosspost-message",10,{"title":127,"path":304,"stem":305,"children":306,"group":84,"badge":143},"\u002Freference\u002Factions\u002Fmember","2.reference\u002F3.actions\u002F03.member",[307,311,315],{"title":308,"path":309,"stem":310,"group":84},"Add roles","\u002Freference\u002Factions\u002Fmember\u002Fadd-role","2.reference\u002F3.actions\u002F03.member\u002F01.add-role",{"title":312,"path":313,"stem":314,"group":84},"Remove roles","\u002Freference\u002Factions\u002Fmember\u002Fremove-role","2.reference\u002F3.actions\u002F03.member\u002F02.remove-role",{"title":316,"path":317,"stem":318,"group":84},"Change nickname","\u002Freference\u002Factions\u002Fmember\u002Fset-nickname","2.reference\u002F3.actions\u002F03.member\u002F03.set-nickname",{"title":145,"path":320,"stem":321,"children":322,"group":84,"badge":199},"\u002Freference\u002Factions\u002Fmoderation","2.reference\u002F3.actions\u002F04.moderation",[323,327,331,335,339],{"title":324,"path":325,"stem":326,"group":84},"Kick Member","\u002Freference\u002Factions\u002Fmoderation\u002Fkick-member","2.reference\u002F3.actions\u002F04.moderation\u002F01.kick-member",{"title":328,"path":329,"stem":330,"group":84},"Ban Member","\u002Freference\u002Factions\u002Fmoderation\u002Fban-member","2.reference\u002F3.actions\u002F04.moderation\u002F02.ban-member",{"title":332,"path":333,"stem":334,"group":84},"Lift a ban","\u002Freference\u002Factions\u002Fmoderation\u002Funban-member","2.reference\u002F3.actions\u002F04.moderation\u002F03.unban-member",{"title":336,"path":337,"stem":338,"group":84},"Timeout Member","\u002Freference\u002Factions\u002Fmoderation\u002Ftimeout-member","2.reference\u002F3.actions\u002F04.moderation\u002F04.timeout-member",{"title":340,"path":341,"stem":342,"group":84},"Lift a timeout","\u002Freference\u002Factions\u002Fmoderation\u002Fremove-timeout","2.reference\u002F3.actions\u002F04.moderation\u002F05.remove-timeout",{"title":344,"path":345,"stem":346,"children":347,"group":84,"badge":143},"Roles","\u002Freference\u002Factions\u002Frole","2.reference\u002F3.actions\u002F05.role",[348,352,356],{"title":349,"path":350,"stem":351,"group":84},"Create a role","\u002Freference\u002Factions\u002Frole\u002Fcreate-role","2.reference\u002F3.actions\u002F05.role\u002F01.create-role",{"title":353,"path":354,"stem":355,"group":84},"Edit a role","\u002Freference\u002Factions\u002Frole\u002Fedit-role","2.reference\u002F3.actions\u002F05.role\u002F02.edit-role",{"title":357,"path":358,"stem":359,"group":84},"Delete a role","\u002Freference\u002Factions\u002Frole\u002Fdelete-role","2.reference\u002F3.actions\u002F05.role\u002F03.delete-role",{"title":361,"path":362,"stem":363,"children":364,"group":84,"badge":401},"Channels","\u002Freference\u002Factions\u002Fchannel","2.reference\u002F3.actions\u002F06.channel",[365,369,373,377,381,385,389,393,397],{"title":366,"path":367,"stem":368,"group":84},"Create Channel","\u002Freference\u002Factions\u002Fchannel\u002Fcreate-channel","2.reference\u002F3.actions\u002F06.channel\u002F01.create-channel",{"title":370,"path":371,"stem":372,"group":84},"Edit Channel","\u002Freference\u002Factions\u002Fchannel\u002Fedit-channel","2.reference\u002F3.actions\u002F06.channel\u002F02.edit-channel",{"title":374,"path":375,"stem":376,"group":84},"Delete Channel","\u002Freference\u002Factions\u002Fchannel\u002Fdelete-channel","2.reference\u002F3.actions\u002F06.channel\u002F03.delete-channel",{"title":378,"path":379,"stem":380,"group":84},"Create Category","\u002Freference\u002Factions\u002Fchannel\u002Fcreate-category","2.reference\u002F3.actions\u002F06.channel\u002F04.create-category",{"title":382,"path":383,"stem":384,"group":84},"Update Category","\u002Freference\u002Factions\u002Fchannel\u002Fupdate-category","2.reference\u002F3.actions\u002F06.channel\u002F05.update-category",{"title":386,"path":387,"stem":388,"group":84},"Delete Category","\u002Freference\u002Factions\u002Fchannel\u002Fdelete-category","2.reference\u002F3.actions\u002F06.channel\u002F06.delete-category",{"title":390,"path":391,"stem":392,"group":84},"Create Thread","\u002Freference\u002Factions\u002Fchannel\u002Fcreate-thread","2.reference\u002F3.actions\u002F06.channel\u002F07.create-thread",{"title":394,"path":395,"stem":396,"group":84},"Archive Thread","\u002Freference\u002Factions\u002Fchannel\u002Farchive-thread","2.reference\u002F3.actions\u002F06.channel\u002F08.archive-thread",{"title":398,"path":399,"stem":400,"group":84},"Add to thread","\u002Freference\u002Factions\u002Fchannel\u002Fadd-thread-member","2.reference\u002F3.actions\u002F06.channel\u002F09.add-thread-member",9,{"title":214,"path":403,"stem":404,"children":405,"group":84,"badge":157},"\u002Freference\u002Factions\u002Fvoice","2.reference\u002F3.actions\u002F07.voice",[406,410],{"title":407,"path":408,"stem":409,"group":84},"Move in voice","\u002Freference\u002Factions\u002Fvoice\u002Fmove-member","2.reference\u002F3.actions\u002F07.voice\u002F01.move-member",{"title":411,"path":412,"stem":413,"group":84},"Disconnect from voice","\u002Freference\u002Factions\u002Fvoice\u002Fdisconnect-member","2.reference\u002F3.actions\u002F07.voice\u002F02.disconnect-member",{"title":415,"path":416,"stem":417,"children":418,"group":84,"badge":125},"Lookup","\u002Freference\u002Factions\u002Flookup","2.reference\u002F3.actions\u002F08.lookup",[419,423,427,431,435,439],{"title":420,"path":421,"stem":422,"group":84},"Find Channel","\u002Freference\u002Factions\u002Flookup\u002Ffind-channel","2.reference\u002F3.actions\u002F08.lookup\u002F01.find-channel",{"title":424,"path":425,"stem":426,"group":84},"Find Category","\u002Freference\u002Factions\u002Flookup\u002Ffind-category","2.reference\u002F3.actions\u002F08.lookup\u002F02.find-category",{"title":428,"path":429,"stem":430,"group":84},"Read a member","\u002Freference\u002Factions\u002Flookup\u002Fget-member","2.reference\u002F3.actions\u002F08.lookup\u002F03.get-member",{"title":432,"path":433,"stem":434,"group":84},"Read a message","\u002Freference\u002Factions\u002Flookup\u002Fget-message","2.reference\u002F3.actions\u002F08.lookup\u002F04.get-message",{"title":436,"path":437,"stem":438,"group":84},"Read a channel","\u002Freference\u002Factions\u002Flookup\u002Fget-channel","2.reference\u002F3.actions\u002F08.lookup\u002F05.get-channel",{"title":440,"path":441,"stem":442,"group":84},"Find a role","\u002Freference\u002Factions\u002Flookup\u002Ffind-role","2.reference\u002F3.actions\u002F08.lookup\u002F06.find-role",{"title":38,"path":444,"stem":445,"children":446,"group":84,"badge":199},"\u002Freference\u002Factions\u002Fvariables","2.reference\u002F3.actions\u002F09.variables",[447,451,455,459,463],{"title":448,"path":449,"stem":450,"group":84},"Set a Variable","\u002Freference\u002Factions\u002Fvariables\u002Fset-variable","2.reference\u002F3.actions\u002F09.variables\u002F01.set-variable",{"title":452,"path":453,"stem":454,"group":84},"Add to a Variable","\u002Freference\u002Factions\u002Fvariables\u002Fincrement-variable","2.reference\u002F3.actions\u002F09.variables\u002F02.increment-variable",{"title":456,"path":457,"stem":458,"group":84},"Subtract from a Variable","\u002Freference\u002Factions\u002Fvariables\u002Fdecrement-variable","2.reference\u002F3.actions\u002F09.variables\u002F03.decrement-variable",{"title":460,"path":461,"stem":462,"group":84},"Read a Variable","\u002Freference\u002Factions\u002Fvariables\u002Fget-variable","2.reference\u002F3.actions\u002F09.variables\u002F04.get-variable",{"title":464,"path":465,"stem":466,"group":84},"Clear a Variable","\u002Freference\u002Factions\u002Fvariables\u002Fdelete-variable","2.reference\u002F3.actions\u002F09.variables\u002F05.delete-variable",{"title":468,"path":469,"stem":470,"children":471,"group":84,"badge":222},"Logic","\u002Freference\u002Factions\u002Flogic","2.reference\u002F3.actions\u002F10.logic",[472],{"title":473,"path":474,"stem":475,"group":84},"Wait","\u002Freference\u002Factions\u002Flogic\u002Fwait","2.reference\u002F3.actions\u002F10.logic\u002F01.wait",{"title":477,"path":478,"stem":479,"group":480},"Condition","\u002Freference\u002Fconditions","2.reference\u002F4.conditions","More",{"title":482,"path":483,"stem":484,"group":480},"Functions","\u002Freference\u002Ffunctions","2.reference\u002F5.functions",{"title":486,"path":487,"stem":488,"group":480},"Errors","\u002Freference\u002Ferrors","2.reference\u002F6.errors",{"title":490,"path":491,"stem":492,"group":480},"Bot permissions","\u002Freference\u002Fbot-permissions","2.reference\u002F7.bot-permissions",{"id":494,"title":495,"body":496,"description":918,"extension":919,"group":62,"meta":920,"navigation":921,"node":84,"path":65,"seo":922,"stem":66,"__hash__":923},"docs_en\u002F1.guide\u002F14.lifecycle.md","A Blueprint's lifecycle",{"type":497,"value":498,"toc":906},"minimark",[499,512,517,577,584,588,596,603,607,613,642,649,656,663,667,673,682,685,697,701,712,742,749,768,790,794,797,844,860,865,869,872,876,883,897],[500,501,502,503,507,508,511],"p",{},"A Blueprint always has two versions: the ",[504,505,506],"strong",{},"draft",", which you edit, and the ",[504,509,510],{},"deployed version",", the one the bot runs. Editing the draft changes nothing about what runs until you deploy.",[513,514,516],"h2",{"id":515},"statuses","Statuses",[518,519,520,533],"table",{},[521,522,523],"thead",{},[524,525,526,530],"tr",{},[527,528,529],"th",{},"Status",[527,531,532],{},"What runs",[534,535,536,547,557,567],"tbody",{},[524,537,538,544],{},[539,540,541],"td",{},[504,542,543],{},"Draft",[539,545,546],{},"Nothing: the Blueprint has never been deployed",[524,548,549,554],{},[539,550,551],{},[504,552,553],{},"Online",[539,555,556],{},"Its deployed version, for the whole server",[524,558,559,564],{},[539,560,561],{},[504,562,563],{},"Paused",[539,565,566],{},"Nothing: someone stopped it, its commands are removed from Discord",[524,568,569,574],{},[539,570,571],{},[504,572,573],{},"Suspended",[539,575,576],{},"Nothing: the bot stopped it because Discord kept refusing its requests",[500,578,579,580,583],{},"The ",[504,581,582],{},"Not deployed"," badge, next to the status, says the draft changed since the last deploy.",[513,585,587],{"id":586},"editing-the-draft","Editing: the draft",[500,589,590,591,595],{},"The editor saves the draft on its own, 3 seconds after your last change. The draft never runs for members; to try it on Discord, start a ",[592,593,594],"a",{"href":60},"test",".",[500,597,598,599,602],{},"One person edits a Blueprint at a time: they ",[504,600,601],{},"hold the lock",". Others see it read-only, live, and can ask for the lock.",[513,604,606],{"id":605},"deploying","Deploying",[500,608,609,612],{},[504,610,611],{},"Deploy"," puts the draft online, in place of the deployed version. First, the Blueprint is checked:",[614,615,616,627,636],"ul",{},[617,618,619,622,623,626],"li",{},[504,620,621],{},"errors block"," the deploy (an empty required field, a wrong expression…); warnings don't. While some remain, a click on Deploy tells you so, with a button that opens ",[504,624,625],{},"Problems"," (also in the status bar at the bottom): they're listed there, with a link to each;",[617,628,629,632,633,635],{},[504,630,631],{},"credits",": the Blueprint must fit in what the server's other online Blueprints leave (",[592,634,68],{"href":69},");",[617,637,638,641],{},[504,639,640],{},"commands"," are registered on Discord.",[500,643,644,645,648],{},"If nothing changed since the last deploy, Deploy tells you the Blueprint is ",[504,646,647],{},"already up to date",": no new version, but its commands are sent to Discord again. A command deleted on Discord, by another tool for instance, comes back that way.",[500,650,651,652,655],{},"Deploying takes the ",[504,653,654],{},"Deploy Blueprints"," permission, but not the lock: a member who can deploy can do it read-only too, and then deploys the saved draft.",[500,657,658,659,662],{},"Redeploying cuts nothing off: ",[592,660,661],{"href":43},"waits"," in progress resume on the version that started them.",[513,664,666],{"id":665},"pausing-resuming","Pausing, resuming",[500,668,669,672],{},[504,670,671],{},"Pause",", in the Deploy button's menu (greyed out until the Blueprint has been deployed once: nothing runs yet), stops the Blueprint: its commands are removed from Discord, its scheduled Events stop firing, and its waits in progress are cancelled (the confirmation says how many). A paused Blueprint costs no credits.",[500,674,675,678,679,681],{},[504,676,677],{},"Resume"," checks credits, registers the commands again and puts it back online, in one go. Both take the ",[504,680,654],{}," permission.",[513,683,573],{"id":684},"suspended",[500,686,687,688,691,692,694,695,595],{},"If Discord refuses too many of a Blueprint's requests (a permission the bot lacks, a deleted channel…), the bot ",[504,689,690],{},"suspends"," it to protect the server and the others (",[592,693,68],{"href":69},"). The editor shows the last refusal, and the server's home page flags it. Its waits are kept. Fix the cause, then ",[504,696,677],{},[513,698,700],{"id":699},"version-history","Version history",[500,702,703,704,707,708,711],{},"The editor's ",[504,705,706],{},"History"," section, and the ",[504,709,710],{},"Versions"," tab of a Blueprint's window (a click on its card, on the Blueprints page), list its versions, each with its author and date:",[614,713,714,720,726,736],{},[617,715,716,719],{},[504,717,718],{},"Current draft",": what you're editing;",[617,721,722,725],{},[504,723,724],{},"End of a session",": the draft as it was at the end of an editing session (10 minutes without a change, the editor leaving or handing over the lock), and at least every 30 minutes;",[617,727,728,731,732,735],{},[504,729,730],{},"Deployed version",": each version put online, with the ",[504,733,734],{},"Live"," badge on the one that runs;",[617,737,738,741],{},[504,739,740],{},"Restored version",": an older version taken back as the draft.",[500,743,744,745,748],{},"Intermediate saves within one session aren't kept. ",[504,746,747],{},"Naming"," a version (\"Before the tickets rework\") keeps it for good; \"Name this version\", in the Deploy button's menu, names the draft.",[500,750,751,752,755,756,759,760,764,765,767],{},"In the editor, click a version to see what it changed; ",[504,753,754],{},"Compare"," and ",[504,757,758],{},"Name"," are beside it, the rest in its ",[761,762,763],"code",{},"⋯"," menu. In the Blueprint's window, everything is in the version's ",[761,766,763],{}," menu:",[614,769,770,778,784],{},[617,771,772,775,776,635],{},[504,773,774],{},"Compare with the draft",": the canvas shows what was added, changed or removed (",[592,777,21],{"href":22},[617,779,780,783],{},[504,781,782],{},"Restore",": the version becomes the draft, without deleting anything or touching what runs;",[617,785,786,789],{},[504,787,788],{},"Deploy this version",": it goes online, and your draft doesn't change. Handy to roll back fast.",[513,791,793],{"id":792},"the-blueprints-page","The Blueprints page",[500,795,796],{},"Each Blueprint has its card there: its status, what triggers it, what's wrong (a suspension, a permission the bot lacks), its week, its cost and who edited it last. A button switches to a table, one line per Blueprint; your choice is kept. Statuses, tags, search and sorting filter the list.",[500,798,799,800,802,803,805,806,805,808,811,812,814,815,805,818,805,821,805,824,827,828,831,832,805,834,755,837,840,841,843],{},"A click opens the Blueprint's window, as does a Blueprint named elsewhere (the activity log, the home page, Variables, the Bot page, Analytics), over the page you're on: ",[504,801,671],{}," or ",[504,804,677],{},", ",[504,807,611],{},[504,809,810],{},"Open the editor",", and the ",[761,813,763],{}," menu (",[504,816,817],{},"Edit the details",[504,819,820],{},"Duplicate",[504,822,823],{},"Copy link",[504,825,826],{},"Delete","). Its tabs: ",[504,829,830],{},"Overview"," (what the draft changes since the version online, the last 7 days, what triggers it, the details, the latest executions), ",[504,833,710],{},[504,835,836],{},"Activity",[504,838,839],{},"Analytics",". The pencil next to the name, like \"Edit the details\", edits the name (60 characters at most), the description (300) and the tags (10, of 24 characters). The window, its tab, and each page's filters are in the address: a refresh keeps them, and ",[504,842,823],{}," shares the window open.",[500,845,846,847,805,849,755,851,805,853,856,857,859],{},"In the editor, clicking the Blueprint's name, at the top, opens the same window, without what the editor already shows (Deploy, pausing, the versions, the latest executions): ",[504,848,830],{},[504,850,836],{},[504,852,839],{},[504,854,855],{},"Edit"," and the same ",[761,858,763],{}," menu.",[500,861,862,864],{},[504,863,820],{}," creates a draft from the current draft. Its commands keep their names: rename them before deploying it, two commands can't share a name on a server.",[513,866,868],{"id":867},"deleting","Deleting",[500,870,871],{},"Deleting a Blueprint removes its commands from Discord and cancels its waits. It can't be done during a test session. Its activity stays readable in the server's log.",[513,873,875],{"id":874},"the-activity-log","The activity log",[500,877,878,879,882],{},"Who did what, and when. A Blueprint's log opens from the editor's logo menu, ",[504,880,881],{},"Blueprint ▸ Activity",". It keeps:",[614,884,885,888,891,894],{},[617,886,887],{},"creation, renaming, description and tags, deletion;",[617,889,890],{},"each editing session, when it ends, and each time someone takes the lock;",[617,892,893],{},"named, restored and deployed versions, pauses, resumes and suspensions;",[617,895,896],{},"cancelled waits, and each test session, with a link to its history while it exists.",[500,898,899,900,902,903,595],{},"The owner and the managers also have the server's log, on its ",[504,901,836],{}," page: every Blueprint, plus the team's lines changed or removed, Variables corrected on the Variables page (with the member and the old and new value), and changes to the bot's Discord permissions. Tabs sort it by topic (Blueprints, Team, Variables, Bot), and filters by Blueprint, member and period. The log is kept one year. Executions aren't in it: they have ",[592,904,905],{"href":78},"their own",{"title":907,"searchDepth":222,"depth":157,"links":908},"",[909,910,911,912,913,914,915,916,917],{"id":515,"depth":157,"text":516},{"id":586,"depth":157,"text":587},{"id":605,"depth":157,"text":606},{"id":665,"depth":157,"text":666},{"id":684,"depth":157,"text":573},{"id":699,"depth":157,"text":700},{"id":792,"depth":157,"text":793},{"id":867,"depth":157,"text":868},{"id":874,"depth":157,"text":875},"Draft, deploying, pause and suspension, the version history and the activity log.","md",{},{"title":64},{"title":495,"description":918},"Klzrz_cmzFifojf4Ixg3xy-hNW7UMEvS1GvP-Rx-1l0",[925,927],{"title":59,"path":60,"stem":61,"description":926,"children":-1},"Try the draft for real on Discord, without touching what runs for the other members.",{"title":68,"path":69,"stem":70,"description":928,"children":-1},"What a Blueprint costs, a server's budget, why a deploy can be refused, and the rate limits.",1791723588202]