Untitled
unknown
plain_text
3 years ago
1.4 kB
7
Indexable
else if (input == ("!true")) { sta == "1"; console.log(sta + 'now online') } else if (input == ("!false")) { sta == "0"; console.log(sta + 'now offline') } else if (input == ("!slp")) { if (sta == "0") console.log('Slp is off') else { if (sta = "1") axios.get("https://api.coingecko.com/api/v3/coins/smooth-love-potion").then((response => { let info = response.data.name, ph = response.data.market_data.current_price.php, cap = response.data.market_data.market_cap.php, rnk = response.data.market_data.market_cap_rank, vol = response.data.market_data.total_volume.php, hgh = response.data.market_data.high_24h.php, lwh = response.data.market_data.low_24h.php, time = response.data.timestamp { var msg = { body: `ššš¦š: ${info}\n\nšš®š«š«šš§š šš«š¢šš: ā± ${ph}\nššš«š¤šš ššš©: ā± ${cap}\nššš«š¤šš ššš© ššš§š¤: ${rnk}\nšš«ššš¢š§š ššØš„š®š¦š: ā± ${vol}\nššš ššØš°/ššš šš¢š š”: ā± ${lwh}/ā± ${hgh}\nTimestamp: ${time}`, attachment: fs.createReadStream(__dirname + "/pic/SLP.webp") } api.sendMessage(msg, event.threadID, event.messageID); }; }) )} }
Editor is loading...