This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div id="tool-dragon-critical-calculator" class="tools-card"> | |
| <h1>Calcular Críticos dos Elementos</h1> | |
| <div class="text-field-container"> | |
| <h3>Selecione os Elementos</h3> | |
| <ul class="elementsList"> | |
| <li id="liEarth" class="elements-s"> | |
| <label for="inputEarth"><img src="https://cdn.statically.io/img/dc-mapas.com.br/f=webp/assets/img/elements/ic-el-terra.png" alt="Elemento Terra"></label> | |
| <input type="checkbox" name="element" id="inputEarth"> | |
| </li> | |
| <li id="liFlames" class="elements-s"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const elements = { | |
| earth: { | |
| name: 'Earth', | |
| critics: ['electric', 'dark'], | |
| weaknesses: ['metalic', 'war'], | |
| null: 'earth' | |
| }, | |
| flames: { | |
| name: 'Flames', | |
| critics: ['nature', 'ice'], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from telegram import InlineKeyboardButton, InlineKeyboardMarkup, KeyboardButton, ReplyKeyboardMarkup | |
| from config import * | |
| import telebot | |
| import requests | |
| import threading | |
| import time | |
| bot = telebot.TeleBot(BOT_TOKEN) | |
| @bot.message_handler(commands=["start"]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from telegram import InlineKeyboardButton, InlineKeyboardMarkup, KeyboardButton, ReplyKeyboardMarkup | |
| from config import * | |
| import telebot | |
| import requests | |
| import threading | |
| import time | |
| bot = telebot.TeleBot(BOT_TOKEN) | |
| @bot.message_handler(commands=["start"]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from telegram import InlineKeyboardButton, InlineKeyboardMarkup, KeyboardButton, ReplyKeyboardMarkup | |
| from config import * | |
| import telebot | |
| import requests | |
| import threading | |
| import time | |
| bot = telebot.TeleBot(BOT_TOKEN) | |
| @bot.message_handler(commands=["start"]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import asyncio | |
| from get_endpoint_info.geneal_info.alliance_chests import get_chest_alliance_info | |
| from fastapi import FastAPI | |
| from fastapi.middleware.cors import CORSMiddleware | |
| from pydantic import BaseModel | |
| from config import USERS_AUTH | |
| from get_endpoint_info import get_info | |
| import functions | |
| import json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import json | |
| from requests_html import AsyncHTMLSession | |
| import datetime | |
| def convert_time(_time_): | |
| _hour_ = _time_.split(",")[1].strip() | |
| _hour_ = _hour_.split(":") | |
| _hour_ = { | |
| "H": int(f"{_hour_[0].strip()}"), | |
| "M": int(f"{_hour_[1].strip()}") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Importações | |
| import telebot, threading | |
| from telebot.types import BotCommand | |
| # Token do bot | |
| TOKEN = "" | |
| # Instanciando o bot | |
| bot = telebot.TeleBot(TOKEN) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Isso retorna exatatente o mesmo conteúdo do Algorithmia | |
| By Marcuth :) @1Marcuth [14/12/22] | |
| */ | |
| import wiki from "wikipedia" // npm i wikipedia | |
| async function getFromWikipedia(pageName) { | |
| const pageContent = {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const formaterConfig = [ | |
| { | |
| markdown: "*", | |
| tag: { | |
| name: "b", | |
| needClose: true | |
| } | |
| }, | |
| { | |
| markdown: "_", |