{"id":97324,"date":"2025-03-29T07:25:17","date_gmt":"2025-03-29T07:25:17","guid":{"rendered":"https:\/\/blog.juandesouza.com\/?p=97324"},"modified":"2025-03-29T07:25:42","modified_gmt":"2025-03-29T07:25:42","slug":"como-criar-o-comando-uptime-no-nightbot-para-twitch-e-youtube","status":"publish","type":"post","link":"https:\/\/blog.juandesouza.com\/br\/tech\/como-criar-o-comando-uptime-no-nightbot-para-twitch-e-youtube\/","title":{"rendered":"Como criar o comando !uptime no Nightbot para Twitch e YouTube"},"content":{"rendered":"<p>Se voc\u00ea \u00e9 um streamer no Twitch ou YouTube, ter um bot que ajude a gerenciar o chat e forne\u00e7a comandos \u00fateis \u00e9 essencial. O Nightbot \u00e9 um dos chatbots mais populares para streamers, oferecendo automa\u00e7\u00e3o e comandos personalizados. Um dos comandos mais solicitados \u00e9 <code>!tempo de atividade<\/code>, que informa aos espectadores h\u00e1 quanto tempo sua transmiss\u00e3o est\u00e1 no ar. Neste artigo, iremos orient\u00e1-lo passo a passo sobre como criar o <code>!tempo de atividade<\/code> comando no Nightbot para Twitch e YouTube.<\/p>\n<h2>Por que usar um comando !uptime?<\/h2>\n<p>O <code>!tempo de atividade<\/code> comando permite que os espectadores verifiquem h\u00e1 quanto tempo seu stream est\u00e1 em execu\u00e7\u00e3o sem precisar perguntar diretamente a voc\u00ea. Isso pode melhorar o engajamento e a intera\u00e7\u00e3o no seu chat, ao mesmo tempo em que reduz perguntas repetitivas. Tamb\u00e9m ajuda os moderadores a fornecer respostas r\u00e1pidas aos espectadores.<\/p><div id=\"juand-4017719633\" class=\"juand-content juand-entity-placement\"><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-8944986240478060\"\r\n     crossorigin=\"anonymous\"><\/script>\r\n<ins class=\"adsbygoogle\"\r\n style=\"display:block; text-align:center;\"\r\n data-ad-layout=\"in-article\"\r\n data-ad-format=\"fluid\"\r\n data-ad-client=\"ca-pub-8944986240478060\"\r\n data-ad-slot=\"9601515663\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script>\r\n<br\/><\/div>\n<h2>Como adicionar o comando !uptime ao Nightbot<\/h2>\n<p>O Nightbot n\u00e3o possui um built-in <code>!tempo de atividade<\/code> comando, ent\u00e3o precisamos criar um comando personalizado usando uma API que recupera o uptime do seu stream. Siga estas etapas para configur\u00e1-lo:<\/p>\n<h3>Etapa 1: Abra o painel do Nightbot<\/h3>\n<ol>\n<li>V\u00e1 para <a href=\"https:\/\/nightbot.tv\/\">Site oficial do Nightbot<\/a>.<\/li>\n<li>Fa\u00e7a login com sua conta do Twitch ou YouTube.<\/li>\n<li>Clique em <strong>Comandos<\/strong> no menu \u00e0 esquerda.<\/li>\n<li>Clique em <strong>+ Adicionar comando<\/strong> para criar um novo comando.<\/li>\n<\/ol>\n<h3>Etapa 2: Configurar o comando<\/h3>\n<p>No <strong>Comando<\/strong> campo, tipo:<\/p>\n<pre><code>!tempo de atividade\r\n<\/code><\/pre>\n<p>No <strong>Mensagem<\/strong> campo, use uma das seguintes chamadas de API, dependendo da sua plataforma de streaming.<\/p>\n<h4>Para transmiss\u00f5es do Twitch<\/h4>\n<p>Use a seguinte URL da API:<\/p><div id=\"juand-3494281869\" class=\"juand-content_2 juand-entity-placement\"><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-8944986240478060\"\r\n     crossorigin=\"anonymous\"><\/script>\r\n<ins class=\"adsbygoogle\"\r\n style=\"display:block; text-align:center;\"\r\n data-ad-layout=\"in-article\"\r\n data-ad-format=\"fluid\"\r\n data-ad-client=\"ca-pub-8944986240478060\"\r\n data-ad-slot=\"9601515663\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script>\r\n<br\/><\/div>\n<pre><code>$(busca de URL https:\/\/decapi.me\/twitch\/uptime?channel=$(canal))\r\n<\/code><\/pre>\n<h4>Para transmiss\u00f5es do YouTube<\/h4>\n<p>Como o YouTube n\u00e3o fornece uma API de uptime direta como o Twitch, voc\u00ea pode usar uma solu\u00e7\u00e3o alternativa integrando um servi\u00e7o de terceiros ou informando manualmente os espectadores sobre o hor\u00e1rio de in\u00edcio do stream. Alguns servi\u00e7os permitem rastrear streams ao vivo do YouTube, mas exigem chaves de API e configura\u00e7\u00e3o extra. Atualmente, o Nightbot n\u00e3o oferece suporte a uma API direta <code>!tempo de atividade<\/code> comando para o YouTube como ele faz para o Twitch.<\/p>\n<p>Como alternativa, voc\u00ea pode usar uma solu\u00e7\u00e3o alternativa manual:<\/p>\n<pre><code>A transmiss\u00e3o come\u00e7ou em: $(twitch $(channel) &quot;a transmiss\u00e3o come\u00e7ou em %starttime%&quot;)\r\n<\/code><\/pre>\n<p>Este comando funcionar\u00e1 se o seu Nightbot estiver configurado para reconhecer corretamente os dados do YouTube Live.<\/p>\n<h3>Etapa 3: Configurar op\u00e7\u00f5es de comando<\/h3>\n<ul>\n<li><strong>N\u00edvel de usu\u00e1rio<\/strong>: Defina para <strong>Todos<\/strong> para que todos os espectadores possam usar o comando.<\/li>\n<li><strong>Esfriar<\/strong>: Defina para cerca de 5 a 10 segundos para evitar spam.<\/li>\n<li><strong>Pseud\u00f4nimo<\/strong>: Deixe este campo em branco.<\/li>\n<\/ul>\n<h3>Etapa 4: Salve e teste o comando<\/h3>\n<p>Clique <strong>Enviar<\/strong> para salvar o comando. Agora, v\u00e1 para o seu chat e digite <code>!tempo de atividade<\/code> para ver se funciona. Se seu stream for ao vivo, o bot deve retornar uma mensagem como:<\/p>\n<pre><code>A transmiss\u00e3o est\u00e1 no ar h\u00e1 2 horas e 15 minutos.\r\n<\/code><\/pre>\n<p>No caso do YouTube, como n\u00e3o h\u00e1 uma API direta, talvez seja necess\u00e1rio atualizar manualmente o comando com o hor\u00e1rio de in\u00edcio da transmiss\u00e3o.<\/p><div id=\"juand-4287163630\" class=\"juand-content_3 juand-entity-placement\"><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-8944986240478060\"\r\n     crossorigin=\"anonymous\"><\/script>\r\n<ins class=\"adsbygoogle\"\r\n style=\"display:block; text-align:center;\"\r\n data-ad-layout=\"in-article\"\r\n data-ad-format=\"fluid\"\r\n data-ad-client=\"ca-pub-8944986240478060\"\r\n data-ad-slot=\"9601515663\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script>\r\n<br\/><\/div>\n<h2>Solu\u00e7\u00e3o de problemas comuns<\/h2>\n<p>Se o <code>!tempo de atividade<\/code> o comando n\u00e3o funciona, tente estas solu\u00e7\u00f5es:<\/p>\n<ol>\n<li><strong>Certifique-se de que a URL da API esteja correta<\/strong>: Verifique novamente o URL na mensagem de comando.<\/li>\n<li><strong>Verifique se o Nightbot est\u00e1 ativo<\/strong>: Certifique-se de que o Nightbot \u00e9 um moderador e entrou no seu bate-papo.<\/li>\n<li><strong>Teste a API em um navegador<\/strong>: Cole a URL da API no seu navegador e veja se ela retorna dados v\u00e1lidos (para Twitch).<\/li>\n<li><strong>Garanta que sua transmiss\u00e3o seja ao vivo<\/strong>: O comando n\u00e3o funcionar\u00e1 se voc\u00ea estiver offline.<\/li>\n<li><strong>Para o YouTube, considere m\u00e9todos alternativos<\/strong>: Como o YouTube n\u00e3o tem uma API de tempo de atividade direta, considere definir manualmente o hor\u00e1rio de in\u00edcio em uma mensagem fixada ou usar outro bot com integra\u00e7\u00e3o de API.<\/li>\n<\/ol>\n<h2>Personaliza\u00e7\u00f5es adicionais<\/h2>\n<p>Se voc\u00ea quiser personalizar a resposta, voc\u00ea pode modificar a sa\u00edda da mensagem. Aqui est\u00e3o algumas varia\u00e7\u00f5es:<\/p>\n<h3>Adicionando uma mensagem amig\u00e1vel<\/h3>\n<pre><code>$(urlfetch https:\/\/decapi.me\/twitch\/uptime?channel=$(channel)) - Obrigado por assistir!\r\n<\/code><\/pre>\n<h3>Adicionando Emojis<\/h3>\n<pre><code>\u23f3 A transmiss\u00e3o est\u00e1 no ar h\u00e1 $ (urlfetch https:\/\/decapi.me\/twitch\/uptime?channel=$(channel)) \u23f3\r\n<\/code><\/pre>\n<h3>Usando uma linguagem diferente<\/h3>\n<pre><code>O streamer est\u00e1 ao vivo h\u00e1: $(urlfetch https:\/\/decapi.me\/twitch\/uptime?channel=$(channel))\r\n<\/code><\/pre>\n<p>Adicionando o <code>!tempo de atividade<\/code> no Nightbot \u00e9 uma maneira simples, mas eficaz, de melhorar o engajamento e fornecer informa\u00e7\u00f5es \u00fateis aos seus espectadores. Seguindo os passos acima, voc\u00ea pode facilmente configurar e personalizar este comando para seu stream do Twitch ou YouTube. Se voc\u00ea tiver algum problema, tente solucionar o problema usando as dicas fornecidas.<\/p>\n<p>Para o YouTube, como uma API direta n\u00e3o est\u00e1 dispon\u00edvel, voc\u00ea pode precisar inserir manualmente o hor\u00e1rio de in\u00edcio do fluxo ou usar uma ferramenta de terceiros. Independentemente da sua plataforma, configurar <code>!tempo de atividade<\/code> melhora a experi\u00eancia do espectador e torna seu bate-papo mais interativo.<\/p><div id=\"juand-1177761782\" class=\"juand-content_4 juand-entity-placement\"><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-8944986240478060\"\r\n     crossorigin=\"anonymous\"><\/script>\r\n<ins class=\"adsbygoogle\"\r\n style=\"display:block; text-align:center;\"\r\n data-ad-layout=\"in-article\"\r\n data-ad-format=\"fluid\"\r\n data-ad-client=\"ca-pub-8944986240478060\"\r\n data-ad-slot=\"9601515663\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script>\r\n<br\/><\/div>\n<p>Agora que voc\u00ea adicionou com sucesso o <code>!tempo de atividade<\/code> comando, explore outros comandos personalizados para melhorar sua experi\u00eancia de bate-papo!<\/p>\n<p>Foto por <a href=\"https:\/\/www.pexels.com\/photo\/a-tattooed-man-wearing-a-headset-9072329\/\" target=\"_blank\" rel=\"noopener\">Yan Krukau<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Se voc\u00ea \u00e9 um streamer no Twitch ou YouTube, ter um bot que ajude a gerenciar o chat e forne\u00e7a comandos \u00fateis \u00e9 essencial. O Nightbot \u00e9 um dos chatbots mais populares para streamers, oferecendo automa\u00e7\u00e3o e comandos personalizados. Um dos comandos mais solicitados \u00e9 !uptime, que informa aos espectadores h\u00e1 quanto tempo sua transmiss\u00e3o est\u00e1 no ar. Neste artigo, vamos orient\u00e1-lo passo a passo sobre como criar o comando !uptime!<\/p>","protected":false},"author":1,"featured_media":97326,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[1289],"tags":[4558],"class_list":["post-97324","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech","tag-home"],"aioseo_notices":[],"aioseo_head":"\n\t\t\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Juan\"\/>\n\t<meta name=\"keywords\" content=\"home\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/blog.juandesouza.com\/br\/tech\/como-criar-o-comando-uptime-no-nightbot-para-twitch-e-youtube\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blog.juandesouza.com\\\/br\\\/tech\\\/como-criar-o-comando-uptime-no-nightbot-para-twitch-e-youtube\\\/#article\",\"name\":\"How to Create the !uptime Command in Nightbot for Twitch and YouTube - Juan de Souza\",\"headline\":\"How to Create the !uptime Command in Nightbot for Twitch and YouTube\",\"author\":{\"@id\":\"https:\\\/\\\/blog.juandesouza.com\\\/br\\\/author\\\/juandesouza\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/blog.juandesouza.com\\\/br\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/blog.juandesouza.com\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/pexels-yankrukov-9072329-scaled.jpg?fit=2560%2C1707&ssl=1\",\"width\":2560,\"height\":1707,\"caption\":\"Nightbot\"},\"datePublished\":\"2025-03-29T07:25:17+00:00\",\"dateModified\":\"2025-03-29T07:25:42+00:00\",\"inLanguage\":\"pt-BR\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.juandesouza.com\\\/br\\\/tech\\\/como-criar-o-comando-uptime-no-nightbot-para-twitch-e-youtube\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.juandesouza.com\\\/br\\\/tech\\\/como-criar-o-comando-uptime-no-nightbot-para-twitch-e-youtube\\\/#webpage\"},\"articleSection\":\"Tech, Home\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.juandesouza.com\\\/br\\\/tech\\\/como-criar-o-comando-uptime-no-nightbot-para-twitch-e-youtube\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.juandesouza.com\\\/br\\\/#listItem\",\"position\":1,\"name\":\"In\\u00edcio\",\"item\":\"https:\\\/\\\/blog.juandesouza.com\\\/br\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.juandesouza.com\\\/br\\\/hashtag\\\/tech\\\/#listItem\",\"name\":\"Tech\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.juandesouza.com\\\/br\\\/hashtag\\\/tech\\\/#listItem\",\"position\":2,\"name\":\"Tech\",\"item\":\"https:\\\/\\\/blog.juandesouza.com\\\/br\\\/hashtag\\\/tech\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.juandesouza.com\\\/br\\\/tech\\\/como-criar-o-comando-uptime-no-nightbot-para-twitch-e-youtube\\\/#listItem\",\"name\":\"How to Create the !uptime Command in Nightbot for Twitch and YouTube\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.juandesouza.com\\\/br\\\/#listItem\",\"name\":\"In\\u00edcio\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.juandesouza.com\\\/br\\\/tech\\\/como-criar-o-comando-uptime-no-nightbot-para-twitch-e-youtube\\\/#listItem\",\"position\":3,\"name\":\"How to Create the !uptime Command in Nightbot for Twitch and YouTube\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.juandesouza.com\\\/br\\\/hashtag\\\/tech\\\/#listItem\",\"name\":\"Tech\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/blog.juandesouza.com\\\/br\\\/#organization\",\"name\":\"Juan de Souza Media\",\"url\":\"https:\\\/\\\/blog.juandesouza.com\\\/br\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blog.juandesouza.com\\\/br\\\/author\\\/juandesouza\\\/#author\",\"url\":\"https:\\\/\\\/blog.juandesouza.com\\\/br\\\/author\\\/juandesouza\\\/\",\"name\":\"Juan\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/blog.juandesouza.com\\\/br\\\/tech\\\/como-criar-o-comando-uptime-no-nightbot-para-twitch-e-youtube\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ba54c20e616940ffe529fd4394c0795f4c3f5172b351703d08781077d6714cf8?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Juan\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.juandesouza.com\\\/br\\\/tech\\\/como-criar-o-comando-uptime-no-nightbot-para-twitch-e-youtube\\\/#webpage\",\"url\":\"https:\\\/\\\/blog.juandesouza.com\\\/br\\\/tech\\\/como-criar-o-comando-uptime-no-nightbot-para-twitch-e-youtube\\\/\",\"name\":\"How to Create the !uptime Command in Nightbot for Twitch and YouTube - Juan de Souza\",\"inLanguage\":\"pt-BR\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.juandesouza.com\\\/br\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.juandesouza.com\\\/br\\\/tech\\\/como-criar-o-comando-uptime-no-nightbot-para-twitch-e-youtube\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/blog.juandesouza.com\\\/br\\\/author\\\/juandesouza\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/blog.juandesouza.com\\\/br\\\/author\\\/juandesouza\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/blog.juandesouza.com\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/pexels-yankrukov-9072329-scaled.jpg?fit=2560%2C1707&ssl=1\",\"@id\":\"https:\\\/\\\/blog.juandesouza.com\\\/br\\\/tech\\\/como-criar-o-comando-uptime-no-nightbot-para-twitch-e-youtube\\\/#mainImage\",\"width\":2560,\"height\":1707,\"caption\":\"Nightbot\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/blog.juandesouza.com\\\/br\\\/tech\\\/como-criar-o-comando-uptime-no-nightbot-para-twitch-e-youtube\\\/#mainImage\"},\"datePublished\":\"2025-03-29T07:25:17+00:00\",\"dateModified\":\"2025-03-29T07:25:42+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blog.juandesouza.com\\\/br\\\/#website\",\"url\":\"https:\\\/\\\/blog.juandesouza.com\\\/br\\\/\",\"name\":\"Juan de Souza\",\"inLanguage\":\"pt-BR\",\"publisher\":{\"@id\":\"https:\\\/\\\/blog.juandesouza.com\\\/br\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t\n\n","aioseo_head_json":{"title":"Como criar o comando !uptime no Nightbot para Twitch e YouTube - Juan de Souza","description":"","canonical_url":"https:\/\/blog.juandesouza.com\/br\/tech\/como-criar-o-comando-uptime-no-nightbot-para-twitch-e-youtube\/","robots":"max-image-preview:large","keywords":"home","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.juandesouza.com\/br\/tech\/como-criar-o-comando-uptime-no-nightbot-para-twitch-e-youtube\/#article","name":"How to Create the !uptime Command in Nightbot for Twitch and YouTube - Juan de Souza","headline":"How to Create the !uptime Command in Nightbot for Twitch and YouTube","author":{"@id":"https:\/\/blog.juandesouza.com\/br\/author\/juandesouza\/#author"},"publisher":{"@id":"https:\/\/blog.juandesouza.com\/br\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/i0.wp.com\/blog.juandesouza.com\/wp-content\/uploads\/2025\/03\/pexels-yankrukov-9072329-scaled.jpg?fit=2560%2C1707&ssl=1","width":2560,"height":1707,"caption":"Nightbot"},"datePublished":"2025-03-29T07:25:17+00:00","dateModified":"2025-03-29T07:25:42+00:00","inLanguage":"pt-BR","mainEntityOfPage":{"@id":"https:\/\/blog.juandesouza.com\/br\/tech\/como-criar-o-comando-uptime-no-nightbot-para-twitch-e-youtube\/#webpage"},"isPartOf":{"@id":"https:\/\/blog.juandesouza.com\/br\/tech\/como-criar-o-comando-uptime-no-nightbot-para-twitch-e-youtube\/#webpage"},"articleSection":"Tech, Home"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.juandesouza.com\/br\/tech\/como-criar-o-comando-uptime-no-nightbot-para-twitch-e-youtube\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/blog.juandesouza.com\/br\/#listItem","position":1,"name":"In\u00edcio","item":"https:\/\/blog.juandesouza.com\/br\/","nextItem":{"@type":"ListItem","@id":"https:\/\/blog.juandesouza.com\/br\/hashtag\/tech\/#listItem","name":"Tech"}},{"@type":"ListItem","@id":"https:\/\/blog.juandesouza.com\/br\/hashtag\/tech\/#listItem","position":2,"name":"Tech","item":"https:\/\/blog.juandesouza.com\/br\/hashtag\/tech\/","nextItem":{"@type":"ListItem","@id":"https:\/\/blog.juandesouza.com\/br\/tech\/como-criar-o-comando-uptime-no-nightbot-para-twitch-e-youtube\/#listItem","name":"How to Create the !uptime Command in Nightbot for Twitch and YouTube"},"previousItem":{"@type":"ListItem","@id":"https:\/\/blog.juandesouza.com\/br\/#listItem","name":"In\u00edcio"}},{"@type":"ListItem","@id":"https:\/\/blog.juandesouza.com\/br\/tech\/como-criar-o-comando-uptime-no-nightbot-para-twitch-e-youtube\/#listItem","position":3,"name":"How to Create the !uptime Command in Nightbot for Twitch and YouTube","previousItem":{"@type":"ListItem","@id":"https:\/\/blog.juandesouza.com\/br\/hashtag\/tech\/#listItem","name":"Tech"}}]},{"@type":"Organization","@id":"https:\/\/blog.juandesouza.com\/br\/#organization","name":"Juan de Souza Media","url":"https:\/\/blog.juandesouza.com\/br\/"},{"@type":"Person","@id":"https:\/\/blog.juandesouza.com\/br\/author\/juandesouza\/#author","url":"https:\/\/blog.juandesouza.com\/br\/author\/juandesouza\/","name":"Juan","image":{"@type":"ImageObject","@id":"https:\/\/blog.juandesouza.com\/br\/tech\/como-criar-o-comando-uptime-no-nightbot-para-twitch-e-youtube\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/ba54c20e616940ffe529fd4394c0795f4c3f5172b351703d08781077d6714cf8?s=96&d=mm&r=g","width":96,"height":96,"caption":"Juan"}},{"@type":"WebPage","@id":"https:\/\/blog.juandesouza.com\/br\/tech\/como-criar-o-comando-uptime-no-nightbot-para-twitch-e-youtube\/#webpage","url":"https:\/\/blog.juandesouza.com\/br\/tech\/como-criar-o-comando-uptime-no-nightbot-para-twitch-e-youtube\/","name":"How to Create the !uptime Command in Nightbot for Twitch and YouTube - Juan de Souza","inLanguage":"pt-BR","isPartOf":{"@id":"https:\/\/blog.juandesouza.com\/br\/#website"},"breadcrumb":{"@id":"https:\/\/blog.juandesouza.com\/br\/tech\/como-criar-o-comando-uptime-no-nightbot-para-twitch-e-youtube\/#breadcrumblist"},"author":{"@id":"https:\/\/blog.juandesouza.com\/br\/author\/juandesouza\/#author"},"creator":{"@id":"https:\/\/blog.juandesouza.com\/br\/author\/juandesouza\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/i0.wp.com\/blog.juandesouza.com\/wp-content\/uploads\/2025\/03\/pexels-yankrukov-9072329-scaled.jpg?fit=2560%2C1707&ssl=1","@id":"https:\/\/blog.juandesouza.com\/br\/tech\/como-criar-o-comando-uptime-no-nightbot-para-twitch-e-youtube\/#mainImage","width":2560,"height":1707,"caption":"Nightbot"},"primaryImageOfPage":{"@id":"https:\/\/blog.juandesouza.com\/br\/tech\/como-criar-o-comando-uptime-no-nightbot-para-twitch-e-youtube\/#mainImage"},"datePublished":"2025-03-29T07:25:17+00:00","dateModified":"2025-03-29T07:25:42+00:00"},{"@type":"WebSite","@id":"https:\/\/blog.juandesouza.com\/br\/#website","url":"https:\/\/blog.juandesouza.com\/br\/","name":"Juan de Souza","inLanguage":"pt-BR","publisher":{"@id":"https:\/\/blog.juandesouza.com\/br\/#organization"}}]}},"aioseo_meta_data":{"post_id":"97324","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"Nightbot","score":83,"analysis":{"keyphraseInTitle":{"score":9,"maxScore":9,"error":0},"keyphraseInDescription":{"score":9,"maxScore":9,"error":0},"keyphraseLength":{"score":9,"maxScore":9,"error":0,"length":1},"keyphraseInURL":{"score":1,"maxScore":5,"error":1},"keyphraseInIntroduction":{"score":9,"maxScore":9,"error":0},"keyphraseInSubHeadings":{"score":3,"maxScore":9,"error":1},"keyphraseInImageAlt":[],"keywordDensity":{"type":"best","score":9,"maxScore":9,"error":0}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2025-03-29 07:21:36","updated":"2025-06-16 02:32:47","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/blog.juandesouza.com\/br\/\" title=\"In\u00edcio\">In\u00edcio<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/blog.juandesouza.com\/br\/hashtag\/tech\/\" title=\"Tech\">Tech<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to Create the !uptime Command in Nightbot for Twitch and YouTube\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"In\u00edcio","link":"https:\/\/blog.juandesouza.com\/br\/"},{"label":"Tech","link":"https:\/\/blog.juandesouza.com\/br\/hashtag\/tech\/"},{"label":"How to Create the !uptime Command in Nightbot for Twitch and YouTube","link":"https:\/\/blog.juandesouza.com\/br\/tech\/como-criar-o-comando-uptime-no-nightbot-para-twitch-e-youtube\/"}],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/blog.juandesouza.com\/wp-content\/uploads\/2025\/03\/pexels-yankrukov-9072329-scaled.jpg?fit=2560%2C1707&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p8STS8-pjK","jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/blog.juandesouza.com\/br\/wp-json\/wp\/v2\/posts\/97324","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.juandesouza.com\/br\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.juandesouza.com\/br\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.juandesouza.com\/br\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.juandesouza.com\/br\/wp-json\/wp\/v2\/comments?post=97324"}],"version-history":[{"count":2,"href":"https:\/\/blog.juandesouza.com\/br\/wp-json\/wp\/v2\/posts\/97324\/revisions"}],"predecessor-version":[{"id":97328,"href":"https:\/\/blog.juandesouza.com\/br\/wp-json\/wp\/v2\/posts\/97324\/revisions\/97328"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.juandesouza.com\/br\/wp-json\/wp\/v2\/media\/97326"}],"wp:attachment":[{"href":"https:\/\/blog.juandesouza.com\/br\/wp-json\/wp\/v2\/media?parent=97324"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.juandesouza.com\/br\/wp-json\/wp\/v2\/categories?post=97324"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.juandesouza.com\/br\/wp-json\/wp\/v2\/tags?post=97324"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}