{"id":1815,"date":"2022-06-27T13:30:30","date_gmt":"2022-06-27T13:30:30","guid":{"rendered":"https:\/\/unlock-guides.flywheelstaging.com\/?p=1815"},"modified":"2022-12-04T18:30:24","modified_gmt":"2022-12-04T18:30:24","slug":"swordy-bot","status":"publish","type":"post","link":"https:\/\/unlock-protocol.com\/guides\/swordy-bot\/","title":{"rendered":"Swordy Bot"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"1815\" class=\"elementor elementor-1815\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-48755d6 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"48755d6\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7f942c2\" data-id=\"7f942c2\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-438d92b elementor-widget elementor-widget-text-editor\" data-id=\"438d92b\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.23.0 - 05-08-2024 *\/\n.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:#69727d;color:#fff}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap{color:#69727d;border:3px solid;background-color:transparent}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap{margin-top:8px}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap-letter{width:1em;height:1em}.elementor-widget-text-editor .elementor-drop-cap{float:left;text-align:center;line-height:1;font-size:50px}.elementor-widget-text-editor .elementor-drop-cap-letter{display:inline-block}<\/style>\t\t\t\t<p><a href=\"https:\/\/swordybot.com\/\" target=\"_blank\" rel=\"noopener\">Swordy Bot Website<\/a> | Created by <a href=\"https:\/\/patrickgallagher.dev\/\" target=\"_blank\" rel=\"noopener\">Patrick Gallagher<\/a> | <a href=\"https:\/\/unlock-protocol.com\/blog\/swordy-bot-intro\" target=\"_blank\" rel=\"noopener\">Blog Post<\/a><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-cd87e2c elementor-widget elementor-widget-heading\" data-id=\"cd87e2c\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.23.0 - 05-08-2024 *\/\n.elementor-heading-title{padding:0;margin:0;line-height:1}.elementor-widget-heading .elementor-heading-title[class*=elementor-size-]>a{color:inherit;font-size:inherit;line-height:inherit}.elementor-widget-heading .elementor-heading-title.elementor-size-small{font-size:15px}.elementor-widget-heading .elementor-heading-title.elementor-size-medium{font-size:19px}.elementor-widget-heading .elementor-heading-title.elementor-size-large{font-size:29px}.elementor-widget-heading .elementor-heading-title.elementor-size-xl{font-size:39px}.elementor-widget-heading .elementor-heading-title.elementor-size-xxl{font-size:59px}<\/style><h3 class=\"elementor-heading-title elementor-size-default\">Install<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-863a448 elementor-widget elementor-widget-text-editor\" data-id=\"863a448\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<ol>\n \t<li><strong>Install Swordy Bot:<\/strong> Add the bot to your server at <a href=\"http:\/\/swordybot.com\/\" target=\"_blank\" rel=\"noopener\">swordybot.com<\/a><\/li>\n \t<li><strong>Create and Add Role:<\/strong> Next you need to create a role that Swordy Bot can assign to Lock Members and permission a channel by adding that role to it.<\/li>\n \t<li><strong>Add Lock to Server:<\/strong> Add the lock and role parameters to your channel via the !add-lock command. Below the syntax (omit the <span class=\"Code-BG\">&lt;&gt;<\/span> brackets but ensure to use &#8221; &#8221; on the role name) and an example command.<\/li>\n<\/ol>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7d70a4c elementor-widget elementor-widget-code-highlight\" data-id=\"7d70a4c\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"prismjs-tomorrow copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-javascript line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-javascript\">\n\t\t\t\t\t<xmp>!add-lock <chain ID> <contract address> <required balance> <\"role name\"> <purchase url (optional)>\n\n!add-lock 100 0xef6389F33ac557405C961030Efcc3b1CE3e6bc17 1 \"subscriber\" https:\/\/unlock-integration.webflow.io\/<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a58a598 elementor-alert-info elementor-widget elementor-widget-alert\" data-id=\"a58a598\" data-element_type=\"widget\" data-widget_type=\"alert.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.23.0 - 05-08-2024 *\/\n.elementor-alert{padding:15px;border-left:5px solid transparent;position:relative;text-align:start}.elementor-alert .elementor-alert-title{display:block;font-weight:700}.elementor-alert .elementor-alert-description{font-size:13px}.elementor-alert button.elementor-alert-dismiss{position:absolute;right:var(--dismiss-icon-horizontal-position,10px);top:var(--dismiss-icon-vertical-position,10px);padding:3px;font-size:var(--dismiss-icon-size,20px);line-height:1;background:transparent;color:var(--dismiss-icon-normal-color,inherit);border:none;cursor:pointer;transition-duration:var(--dismiss-icon-hover-transition-duration,.3s)}.elementor-alert button.elementor-alert-dismiss:hover{color:var(--dismiss-icon-hover-color,inherit)}.elementor-alert button.elementor-alert-dismiss svg{width:var(--dismiss-icon-size,20px);height:var(--dismiss-icon-size,20px);fill:var(--dismiss-icon-normal-color,currentColor);transition-duration:var(--dismiss-icon-hover-transition-duration,.3s)}.elementor-alert button.elementor-alert-dismiss svg:hover{fill:var(--dismiss-icon-hover-color,currentColor)}.elementor-alert-info .elementor-alert{color:#31708f;background-color:#d9edf7;border-color:#bcdff1}.elementor-alert-success .elementor-alert{color:#3c763d;background-color:#dff0d8;border-color:#cae6be}.elementor-alert-warning .elementor-alert{color:#8a6d3b;background-color:#fcf8e3;border-color:#f9f0c3}.elementor-alert-danger .elementor-alert{color:#a94442;background-color:#f2dede;border-color:#e8c4c4}@media (max-width:767px){.elementor-alert{padding:10px}.elementor-alert button.elementor-alert-dismiss{right:7px;top:7px}}<\/style>\t\t<div class=\"elementor-alert\" role=\"alert\">\n\n\t\t\t\t\t\t<span class=\"elementor-alert-title\">Note<\/span>\n\t\t\t\n\t\t\t\t\t\t<span class=\"elementor-alert-description\">You can find the possible values for <span class=\"Code-BG\">chainId<\/span>  <a href=\"https:\/\/docs.unlock-protocol.com\/core-protocol\/\">here.<\/a>\n<\/span>\n\t\t\t\n\t\t\t\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4257460 elementor-widget elementor-widget-heading\" data-id=\"4257460\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Onboard Users<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7659204 elementor-widget elementor-widget-text-editor\" data-id=\"7659204\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Users can get access by using the <span class=\"Code-BG\">!unlock<\/span> command. They will receive a private message from Swordy Bot asking them to follow a unique link to a page where they can connect with either metamask or walletconnect. Once thats successful they will receive another message confirming their member ship and the member only channel will be visible.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Swordy Bot allows you to give access to Discord private channels by assigning a role to a user that has an Unlock Key (NFT). Once installed the plugin communicates via private chat with your server members and sends them to a website where they can verify key ownership.<\/p>\n","protected":false},"author":7,"featured_media":2304,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[41,42],"tags":[52,32],"class_list":["post-1815","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-discord","category-plugins","tag-bot","tag-token-gated"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Swordy Bot - Unlock Guides<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/unlock-protocol.com\/guides\/swordy-bot\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Swordy Bot - Unlock Guides\" \/>\n<meta property=\"og:description\" content=\"Swordy Bot allows you to give access to Discord private channels by assigning a role to a user that has an Unlock Key (NFT). Once installed the plugin communicates via private chat with your server members and sends them to a website where they can verify key ownership.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/unlock-protocol.com\/guides\/swordy-bot\/\" \/>\n<meta property=\"og:site_name\" content=\"Unlock Guides\" \/>\n<meta property=\"article:published_time\" content=\"2022-06-27T13:30:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-04T18:30:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/unlock-protocol.com\/guides\/wp-content\/uploads\/2022\/06\/swordy.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1800\" \/>\n\t<meta property=\"og:image:height\" content=\"1200\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Unlock Labs\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Unlock Labs\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/unlock-protocol.com\/guides\/swordy-bot\/\",\"url\":\"https:\/\/unlock-protocol.com\/guides\/swordy-bot\/\",\"name\":\"Swordy Bot - Unlock Guides\",\"isPartOf\":{\"@id\":\"https:\/\/unlock-protocol.com\/guides\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/unlock-protocol.com\/guides\/swordy-bot\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/unlock-protocol.com\/guides\/swordy-bot\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/unlock-protocol.com\/guides\/wp-content\/uploads\/2022\/06\/swordy.png\",\"datePublished\":\"2022-06-27T13:30:30+00:00\",\"dateModified\":\"2022-12-04T18:30:24+00:00\",\"author\":{\"@id\":\"https:\/\/unlock-protocol.com\/guides\/#\/schema\/person\/86a3d8403e1c58bd42cc4695cad75b27\"},\"breadcrumb\":{\"@id\":\"https:\/\/unlock-protocol.com\/guides\/swordy-bot\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/unlock-protocol.com\/guides\/swordy-bot\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/unlock-protocol.com\/guides\/swordy-bot\/#primaryimage\",\"url\":\"https:\/\/unlock-protocol.com\/guides\/wp-content\/uploads\/2022\/06\/swordy.png\",\"contentUrl\":\"https:\/\/unlock-protocol.com\/guides\/wp-content\/uploads\/2022\/06\/swordy.png\",\"width\":1800,\"height\":1200},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/unlock-protocol.com\/guides\/swordy-bot\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Guides\",\"item\":\"https:\/\/unlock-protocol.com\/guides\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Swordy Bot\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/unlock-protocol.com\/guides\/#website\",\"url\":\"https:\/\/unlock-protocol.com\/guides\/\",\"name\":\"Unlock Guides\",\"description\":\"Connect with your 1000 true fans with membership NFT\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/unlock-protocol.com\/guides\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/unlock-protocol.com\/guides\/#\/schema\/person\/86a3d8403e1c58bd42cc4695cad75b27\",\"name\":\"Unlock Labs\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/unlock-protocol.com\/guides\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/51d138ba516030128480d1b9dcc5312f6f306a984bebcc5e79aa2db8c8d8259f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/51d138ba516030128480d1b9dcc5312f6f306a984bebcc5e79aa2db8c8d8259f?s=96&d=mm&r=g\",\"caption\":\"Unlock Labs\"},\"url\":\"https:\/\/unlock-protocol.com\/guides\/author\/unlockteam\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Swordy Bot - Unlock Guides","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/unlock-protocol.com\/guides\/swordy-bot\/","og_locale":"en_US","og_type":"article","og_title":"Swordy Bot - Unlock Guides","og_description":"Swordy Bot allows you to give access to Discord private channels by assigning a role to a user that has an Unlock Key (NFT). Once installed the plugin communicates via private chat with your server members and sends them to a website where they can verify key ownership.","og_url":"https:\/\/unlock-protocol.com\/guides\/swordy-bot\/","og_site_name":"Unlock Guides","article_published_time":"2022-06-27T13:30:30+00:00","article_modified_time":"2022-12-04T18:30:24+00:00","og_image":[{"width":1800,"height":1200,"url":"https:\/\/unlock-protocol.com\/guides\/wp-content\/uploads\/2022\/06\/swordy.png","type":"image\/png"}],"author":"Unlock Labs","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Unlock Labs","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/unlock-protocol.com\/guides\/swordy-bot\/","url":"https:\/\/unlock-protocol.com\/guides\/swordy-bot\/","name":"Swordy Bot - Unlock Guides","isPartOf":{"@id":"https:\/\/unlock-protocol.com\/guides\/#website"},"primaryImageOfPage":{"@id":"https:\/\/unlock-protocol.com\/guides\/swordy-bot\/#primaryimage"},"image":{"@id":"https:\/\/unlock-protocol.com\/guides\/swordy-bot\/#primaryimage"},"thumbnailUrl":"https:\/\/unlock-protocol.com\/guides\/wp-content\/uploads\/2022\/06\/swordy.png","datePublished":"2022-06-27T13:30:30+00:00","dateModified":"2022-12-04T18:30:24+00:00","author":{"@id":"https:\/\/unlock-protocol.com\/guides\/#\/schema\/person\/86a3d8403e1c58bd42cc4695cad75b27"},"breadcrumb":{"@id":"https:\/\/unlock-protocol.com\/guides\/swordy-bot\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/unlock-protocol.com\/guides\/swordy-bot\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/unlock-protocol.com\/guides\/swordy-bot\/#primaryimage","url":"https:\/\/unlock-protocol.com\/guides\/wp-content\/uploads\/2022\/06\/swordy.png","contentUrl":"https:\/\/unlock-protocol.com\/guides\/wp-content\/uploads\/2022\/06\/swordy.png","width":1800,"height":1200},{"@type":"BreadcrumbList","@id":"https:\/\/unlock-protocol.com\/guides\/swordy-bot\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Guides","item":"https:\/\/unlock-protocol.com\/guides\/"},{"@type":"ListItem","position":2,"name":"Swordy Bot"}]},{"@type":"WebSite","@id":"https:\/\/unlock-protocol.com\/guides\/#website","url":"https:\/\/unlock-protocol.com\/guides\/","name":"Unlock Guides","description":"Connect with your 1000 true fans with membership NFT","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/unlock-protocol.com\/guides\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/unlock-protocol.com\/guides\/#\/schema\/person\/86a3d8403e1c58bd42cc4695cad75b27","name":"Unlock Labs","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/unlock-protocol.com\/guides\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/51d138ba516030128480d1b9dcc5312f6f306a984bebcc5e79aa2db8c8d8259f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/51d138ba516030128480d1b9dcc5312f6f306a984bebcc5e79aa2db8c8d8259f?s=96&d=mm&r=g","caption":"Unlock Labs"},"url":"https:\/\/unlock-protocol.com\/guides\/author\/unlockteam\/"}]}},"_links":{"self":[{"href":"https:\/\/unlock-protocol.com\/guides\/wp-json\/wp\/v2\/posts\/1815","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unlock-protocol.com\/guides\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unlock-protocol.com\/guides\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unlock-protocol.com\/guides\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/unlock-protocol.com\/guides\/wp-json\/wp\/v2\/comments?post=1815"}],"version-history":[{"count":0,"href":"https:\/\/unlock-protocol.com\/guides\/wp-json\/wp\/v2\/posts\/1815\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/unlock-protocol.com\/guides\/wp-json\/wp\/v2\/media\/2304"}],"wp:attachment":[{"href":"https:\/\/unlock-protocol.com\/guides\/wp-json\/wp\/v2\/media?parent=1815"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unlock-protocol.com\/guides\/wp-json\/wp\/v2\/categories?post=1815"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unlock-protocol.com\/guides\/wp-json\/wp\/v2\/tags?post=1815"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}