Profiles Plugin

Profiles Plugin
เปิดบอทหลายจอ สร้างโฟล์เดอร์ Profiles ตั้งชื่อ
แล้วนำไฟล์ใน control ไปใส่
ตอนรันสามารถเลือกได้ว่าจะรันไอดีไหน
จำเป็นต้องลงไฟล์ profiles.pl ในโฟล์เดอร์ Plugins
version 2
──────── ────────




โค้ดตัวอย่างที่ปิดท้าย ตัวต้นฉบับ ใหญ่ๆ
── ✦ ──
<div style="text-align: center;"><span style="color: white;">
<span style="font-size: 24px; white-space-collapse: preserve;">── ✦ ──</span>
</span>
</div>

ตัวอย่างของการนำไปใช้และปรับเปลี่ยน
──────── ────────
<div style="text-align: center;">
<span style="font-size: 16px; text-align: center; white-space-collapse: preserve;">
<span style="color: #cfe2f3;">────────</span> <span style="color: #b4a7d6;">✦</span> <span style="color: #cfe2f3;">────────</span>
</span>
</div>



Rainbow text

<span class="rainbowText"><i class="fa fa-download" aria-hidden="true"></i> Rainbow text</span>
──────── ────────

code pre color

Example

# very simple plugin which adds echo command which just prints its arguments to the console package echo; use strict; my $commands = Commands::register(['echo', 'print to the console', sub { Log::message "$_[1]\n" }]); Plugins::register("echo", "echo command", sub { Commands::unregister($commands) }); 
<pre class="prettyprint prettyprinted"> ----- >Code< ----- </pre>


──────── ────────

.rainbow15 สีแดง
<style>
  .rainbow15 {
     background: linear-gradient(90deg, #d42a32, #7e39cc 50%, #c43382);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
</style>

──────── ────────

ดึง div เวปอื่นตึงๆ 
<!DOCTYPE html>
<html lang="th">
<head>
  <meta charset="UTF-8">
  <title>ดึงเนื้อหาจาก Blogspot</title>
</head>
<body>

<div id="blogspot-content"></div>

<script>
fetch("https://api.allorigins.win/raw?url=https://louardongames.blogspot.com/2022/12/its-my-birthday-read-my-new-comic.html")
  .then(response => response.text())
  .then(html => {
    const parser = new DOMParser();
    const doc = parser.parseFromString(html, "text/html");
    const content = doc.querySelector(".post-body.entry-content");
    document.getElementById("blogspot-content").innerHTML = content ? content.innerHTML : "ไม่พบเนื้อหา";
  })
  .catch(error => {
    document.getElementById("blogspot-content").innerText = "เกิดข้อผิดพลาด: " + error;
  });
</script>

</body>
</html>

──────── ────────