{"id":451,"date":"2021-05-20T17:11:35","date_gmt":"2021-05-20T17:11:35","guid":{"rendered":"https:\/\/www.mybutton.org\/?p=451"},"modified":"2023-08-23T12:17:41","modified_gmt":"2023-08-23T12:17:41","slug":"sadece-sahibe-ozel-komutlar","status":"publish","type":"post","link":"https:\/\/www.mybutton.org\/?p=451","title":{"rendered":"Sadece Sahibe \u00d6zel Komutlar"},"content":{"rendered":"\n<p>Bir Mybutton Botu&#8217;nun maintainer (geli\u015ftirici) rol\u00fcne sahip olan ki\u015filerin botlarda sadece kendilerine \u00f6zel komutlar ekleme hakk\u0131na sahiptir.<\/p>\n\n\n\n<p>Bu komutlar <code>evaluate, durdur, yeniden ba\u015flat<\/code> gibi komutlar olabilir. <\/p>\n\n\n\n<p>Bu komutlar kullan\u0131c\u0131lar taraf\u0131ndan kullan\u0131lamazlar.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Mybutton Discord API implementasyonu<\/h2>\n\n\n\n<p>Mybutton Discord API&#8217;daki <code>CommandBuilder<\/code> class&#8217;\u0131n\u0131n parametrelerinde <code>AuthorOnly?<\/code> se\u00e7ene\u011fi bulunur. Bu parametreyi <code>true<\/code> hale getirmek bu komutu sadece Bot geli\u015ftiricisine \u00f6zel bir komut olarak ayarlar.<\/p>\n\n\n\n<p>Bir komutun Geli\u015ftiriciye \u00f6zel olup olmad\u0131\u011f\u0131 <code>CommandBuilder.param['AuthorOnly']<\/code> verisi ile \u00f6l\u00e7ebilinir. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bir Mybutton Botu&#8217;nun maintainer (geli\u015ftirici) rol\u00fcne sahip olan ki\u015filerin botlarda sadece kendilerine \u00f6zel komutlar ekleme hakk\u0131na sahiptir. Bu komutlar evaluate, durdur, yeniden ba\u015flat gibi komutlar olabilir. Bu komutlar kullan\u0131c\u0131lar taraf\u0131ndan kullan\u0131lamazlar. Mybutton Discord API implementasyonu Mybutton Discord API&#8217;daki CommandBuilder class&#8217;\u0131n\u0131n parametrelerinde AuthorOnly? se\u00e7ene\u011fi bulunur. Bu parametreyi true hale getirmek bu komutu sadece Bot geli\u015ftiricisine \u00f6zel [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-451","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.mybutton.org\/index.php?rest_route=\/wp\/v2\/posts\/451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mybutton.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mybutton.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mybutton.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mybutton.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=451"}],"version-history":[{"count":15,"href":"https:\/\/www.mybutton.org\/index.php?rest_route=\/wp\/v2\/posts\/451\/revisions"}],"predecessor-version":[{"id":669,"href":"https:\/\/www.mybutton.org\/index.php?rest_route=\/wp\/v2\/posts\/451\/revisions\/669"}],"wp:attachment":[{"href":"https:\/\/www.mybutton.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mybutton.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mybutton.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}