{"id":724,"date":"2022-09-29T12:33:25","date_gmt":"2022-09-29T12:33:25","guid":{"rendered":"https:\/\/ryanlym.dk\/?page_id=724"},"modified":"2024-02-22T15:28:30","modified_gmt":"2024-02-22T15:28:30","slug":"leaf-game","status":"publish","type":"page","link":"https:\/\/ryanlym.dk\/index.php\/portfolio\/leaf-game\/","title":{"rendered":"Discord bot &#8211; Leaf Game"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"724\" class=\"elementor elementor-724\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-75106ee elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"75106ee\" 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-6a69aab\" data-id=\"6a69aab\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-586954e elementor-widget elementor-widget-heading\" data-id=\"586954e\" 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.11.1 - 15-02-2023 *\/\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><h1 class=\"elementor-heading-title elementor-size-xl\">Leaf Game<\/h1>\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\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-bbea92d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"bbea92d\" 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-25c7aa7\" data-id=\"25c7aa7\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5cc7a30 elementor-widget elementor-widget-text-editor\" data-id=\"5cc7a30\" 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.11.1 - 15-02-2023 *\/\n.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:#818a91;color:#fff}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap{color:#818a91;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>Leaf Game er en discord bot som er baseret p\u00e5 en eksisterende bot fra en discord server.<\/p><p>Botten er et spil hvor ens \u00f8konomi er bygget omkring blade og hvor det s\u00e5 g\u00e6lder om at komme op i toppen af et leaderboard.<\/p><p>Botten er skrevet i JavaScript og gemmer data fra brugerne i en MongoDB database.<\/p><p>Der er nogle forskellige commands til den hvor nogle af dem er vist under.<\/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-9462eb4 gallery-spacing-custom elementor-widget elementor-widget-image-gallery\" data-id=\"9462eb4\" data-element_type=\"widget\" data-widget_type=\"image-gallery.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.11.1 - 15-02-2023 *\/\n.elementor-image-gallery .gallery-item{display:inline-block;text-align:center;vertical-align:top;width:100%;max-width:100%;margin:0 auto}.elementor-image-gallery .gallery-item img{margin:0 auto}.elementor-image-gallery .gallery-item .gallery-caption{margin:0}.elementor-image-gallery figure img{display:block}.elementor-image-gallery figure figcaption{width:100%}.gallery-spacing-custom .elementor-image-gallery .gallery-icon{padding:0}@media (min-width:768px){.elementor-image-gallery .gallery-columns-2 .gallery-item{max-width:50%}.elementor-image-gallery .gallery-columns-3 .gallery-item{max-width:33.33%}.elementor-image-gallery .gallery-columns-4 .gallery-item{max-width:25%}.elementor-image-gallery .gallery-columns-5 .gallery-item{max-width:20%}.elementor-image-gallery .gallery-columns-6 .gallery-item{max-width:16.666%}.elementor-image-gallery .gallery-columns-7 .gallery-item{max-width:14.28%}.elementor-image-gallery .gallery-columns-8 .gallery-item{max-width:12.5%}.elementor-image-gallery .gallery-columns-9 .gallery-item{max-width:11.11%}.elementor-image-gallery .gallery-columns-10 .gallery-item{max-width:10%}}@media (min-width:480px) and (max-width:767px){.elementor-image-gallery .gallery.gallery-columns-2 .gallery-item,.elementor-image-gallery .gallery.gallery-columns-3 .gallery-item,.elementor-image-gallery .gallery.gallery-columns-4 .gallery-item,.elementor-image-gallery .gallery.gallery-columns-5 .gallery-item,.elementor-image-gallery .gallery.gallery-columns-6 .gallery-item,.elementor-image-gallery .gallery.gallery-columns-7 .gallery-item,.elementor-image-gallery .gallery.gallery-columns-8 .gallery-item,.elementor-image-gallery .gallery.gallery-columns-9 .gallery-item,.elementor-image-gallery .gallery.gallery-columns-10 .gallery-item{max-width:50%}}@media (max-width:479px){.elementor-image-gallery .gallery.gallery-columns-2 .gallery-item,.elementor-image-gallery .gallery.gallery-columns-3 .gallery-item,.elementor-image-gallery .gallery.gallery-columns-4 .gallery-item,.elementor-image-gallery .gallery.gallery-columns-5 .gallery-item,.elementor-image-gallery .gallery.gallery-columns-6 .gallery-item,.elementor-image-gallery .gallery.gallery-columns-7 .gallery-item,.elementor-image-gallery .gallery.gallery-columns-8 .gallery-item,.elementor-image-gallery .gallery.gallery-columns-9 .gallery-item,.elementor-image-gallery .gallery.gallery-columns-10 .gallery-item{max-width:100%}}<\/style>\t\t<div class=\"elementor-image-gallery\">\n\t\t\t<div id='gallery-1' class='gallery galleryid-724 gallery-columns-2 gallery-size-large'><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-slideshow=\"9462eb4\" data-elementor-lightbox-title=\"Guildlist command\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NzQ3LCJ1cmwiOiJodHRwczpcL1wvcnlhbmx5bS5ka1wvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMlwvMTBcL0Rpc2NvcmRDYW5hcnlfeVprRExUUEM0Wi5wbmciLCJzbGlkZXNob3ciOiI5NDYyZWI0In0%3D\" href='https:\/\/ryanlym.dk\/wp-content\/uploads\/2022\/10\/DiscordCanary_yZkDLTPC4Z.png'><img width=\"667\" height=\"243\" src=\"https:\/\/ryanlym.dk\/wp-content\/uploads\/2022\/10\/DiscordCanary_yZkDLTPC4Z.png\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" aria-describedby=\"gallery-1-747\" srcset=\"https:\/\/ryanlym.dk\/wp-content\/uploads\/2022\/10\/DiscordCanary_yZkDLTPC4Z.png 667w, https:\/\/ryanlym.dk\/wp-content\/uploads\/2022\/10\/DiscordCanary_yZkDLTPC4Z-300x109.png 300w\" sizes=\"(max-width: 667px) 100vw, 667px\" \/><\/a>\n\t\t\t<\/div>\n\t\t\t\t<figcaption class='wp-caption-text gallery-caption' id='gallery-1-747'>\n\t\t\t\tGuildlist command\n\t\t\t\t<\/figcaption><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-slideshow=\"9462eb4\" data-elementor-lightbox-title=\"Leaderboard command\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NzMwLCJ1cmwiOiJodHRwczpcL1wvcnlhbmx5bS5ka1wvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMlwvMTBcL0Rpc2NvcmRDYW5hcnlfb3pNelpUME5RYy5wbmciLCJzbGlkZXNob3ciOiI5NDYyZWI0In0%3D\" href='https:\/\/ryanlym.dk\/wp-content\/uploads\/2022\/10\/DiscordCanary_ozMzZT0NQc.png'><img width=\"1015\" height=\"370\" src=\"https:\/\/ryanlym.dk\/wp-content\/uploads\/2022\/10\/DiscordCanary_ozMzZT0NQc.png\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" aria-describedby=\"gallery-1-730\" srcset=\"https:\/\/ryanlym.dk\/wp-content\/uploads\/2022\/10\/DiscordCanary_ozMzZT0NQc.png 1015w, https:\/\/ryanlym.dk\/wp-content\/uploads\/2022\/10\/DiscordCanary_ozMzZT0NQc-300x109.png 300w, https:\/\/ryanlym.dk\/wp-content\/uploads\/2022\/10\/DiscordCanary_ozMzZT0NQc-768x280.png 768w\" sizes=\"(max-width: 1015px) 100vw, 1015px\" \/><\/a>\n\t\t\t<\/div>\n\t\t\t\t<figcaption class='wp-caption-text gallery-caption' id='gallery-1-730'>\n\t\t\t\tLeaderboard command\n\t\t\t\t<\/figcaption><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-slideshow=\"9462eb4\" data-elementor-lightbox-title=\"Bonk command\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NzQ2LCJ1cmwiOiJodHRwczpcL1wvcnlhbmx5bS5ka1wvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMlwvMTBcL0Rpc2NvcmRDYW5hcnlfajVYc2Y4OXNOWC5wbmciLCJzbGlkZXNob3ciOiI5NDYyZWI0In0%3D\" href='https:\/\/ryanlym.dk\/wp-content\/uploads\/2022\/10\/DiscordCanary_j5Xsf89sNX.png'><img width=\"731\" height=\"156\" src=\"https:\/\/ryanlym.dk\/wp-content\/uploads\/2022\/10\/DiscordCanary_j5Xsf89sNX.png\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" aria-describedby=\"gallery-1-746\" srcset=\"https:\/\/ryanlym.dk\/wp-content\/uploads\/2022\/10\/DiscordCanary_j5Xsf89sNX.png 731w, https:\/\/ryanlym.dk\/wp-content\/uploads\/2022\/10\/DiscordCanary_j5Xsf89sNX-300x64.png 300w\" sizes=\"(max-width: 731px) 100vw, 731px\" \/><\/a>\n\t\t\t<\/div>\n\t\t\t\t<figcaption class='wp-caption-text gallery-caption' id='gallery-1-746'>\n\t\t\t\tBonk command\n\t\t\t\t<\/figcaption><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-slideshow=\"9462eb4\" data-elementor-lightbox-title=\"Blow command\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NzI4LCJ1cmwiOiJodHRwczpcL1wvcnlhbmx5bS5ka1wvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMlwvMTBcL0Rpc2NvcmRDYW5hcnlfYkNxMG9IMTFwTy5wbmciLCJzbGlkZXNob3ciOiI5NDYyZWI0In0%3D\" href='https:\/\/ryanlym.dk\/wp-content\/uploads\/2022\/10\/DiscordCanary_bCq0oH11pO.png'><img width=\"503\" height=\"138\" src=\"https:\/\/ryanlym.dk\/wp-content\/uploads\/2022\/10\/DiscordCanary_bCq0oH11pO.png\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" aria-describedby=\"gallery-1-728\" srcset=\"https:\/\/ryanlym.dk\/wp-content\/uploads\/2022\/10\/DiscordCanary_bCq0oH11pO.png 503w, https:\/\/ryanlym.dk\/wp-content\/uploads\/2022\/10\/DiscordCanary_bCq0oH11pO-300x82.png 300w\" sizes=\"(max-width: 503px) 100vw, 503px\" \/><\/a>\n\t\t\t<\/div>\n\t\t\t\t<figcaption class='wp-caption-text gallery-caption' id='gallery-1-728'>\n\t\t\t\tBlow command\n\t\t\t\t<\/figcaption><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-slideshow=\"9462eb4\" data-elementor-lightbox-title=\"Item command\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NzI3LCJ1cmwiOiJodHRwczpcL1wvcnlhbmx5bS5ka1wvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMlwvMTBcL0Rpc2NvcmRDYW5hcnlfNERYR1hMT2loWS5wbmciLCJzbGlkZXNob3ciOiI5NDYyZWI0In0%3D\" href='https:\/\/ryanlym.dk\/wp-content\/uploads\/2022\/10\/DiscordCanary_4DXGXLOihY.png'><img width=\"445\" height=\"217\" src=\"https:\/\/ryanlym.dk\/wp-content\/uploads\/2022\/10\/DiscordCanary_4DXGXLOihY.png\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" aria-describedby=\"gallery-1-727\" srcset=\"https:\/\/ryanlym.dk\/wp-content\/uploads\/2022\/10\/DiscordCanary_4DXGXLOihY.png 445w, https:\/\/ryanlym.dk\/wp-content\/uploads\/2022\/10\/DiscordCanary_4DXGXLOihY-300x146.png 300w\" sizes=\"(max-width: 445px) 100vw, 445px\" \/><\/a>\n\t\t\t<\/div>\n\t\t\t\t<figcaption class='wp-caption-text gallery-caption' id='gallery-1-727'>\n\t\t\t\tItem command\n\t\t\t\t<\/figcaption><\/figure>\n\t\t<\/div>\n\t\t<\/div>\n\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\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Leaf Game Leaf Game er en discord bot som er baseret p\u00e5 en eksisterende bot fra en discord server. Botten er et spil hvor ens \u00f8konomi er bygget omkring blade og hvor det s\u00e5 g\u00e6lder om at komme op i toppen af et leaderboard. Botten er skrevet i JavaScript og gemmer data fra brugerne i en MongoDB database. Der er nogle forskellige commands til den hvor nogle af dem er vist under. Guildlist command Leaderboard command Bonk command Blow command Item command<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":543,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_uag_custom_page_level_css":""},"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":5}},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"Ryan M\u00f8ller","author_link":"https:\/\/ryanlym.dk\/index.php\/author\/admin\/"},"uagb_comment_info":0,"uagb_excerpt":"Leaf Game Leaf Game er en discord bot som er baseret p\u00e5 en eksisterende bot fra en discord server. Botten er et spil hvor ens \u00f8konomi er bygget omkring blade og hvor det s\u00e5 g\u00e6lder om at komme op i toppen af et leaderboard. Botten er skrevet i JavaScript og gemmer data fra brugerne i&hellip;","_links":{"self":[{"href":"https:\/\/ryanlym.dk\/index.php\/wp-json\/wp\/v2\/pages\/724"}],"collection":[{"href":"https:\/\/ryanlym.dk\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ryanlym.dk\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ryanlym.dk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ryanlym.dk\/index.php\/wp-json\/wp\/v2\/comments?post=724"}],"version-history":[{"count":15,"href":"https:\/\/ryanlym.dk\/index.php\/wp-json\/wp\/v2\/pages\/724\/revisions"}],"predecessor-version":[{"id":925,"href":"https:\/\/ryanlym.dk\/index.php\/wp-json\/wp\/v2\/pages\/724\/revisions\/925"}],"up":[{"embeddable":true,"href":"https:\/\/ryanlym.dk\/index.php\/wp-json\/wp\/v2\/pages\/543"}],"wp:attachment":[{"href":"https:\/\/ryanlym.dk\/index.php\/wp-json\/wp\/v2\/media?parent=724"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}