chin8628 / please-stand-up Goto Github PK
View Code? Open in Web Editor NEWLet you know who joining or leaving your Discord's channel.
Let you know who joining or leaving your Discord's channel.
เวอร์ชั่นจริงจัง
เวลาบอท destroy ตัวเองค่อนข้างสับสนว่าคนออกแล้วบอทไม่พูด
เพิ่ม command set template อีกตัวก็ดี
บอท disconnect เพราะ คนที่อยู่ในห้อง AFK คนเดียวกดออกไปจากเซิร์ฟเวอร์
ตอนนี้ condition skip เช็คจาก BOT_ID
ของ please stand up เอง ในกรณีที่มีบอทตัวอื่น join channel มาด้วยทำให้มันอ่านชื่อไปด้วย
น่าจะต้องเปลี่ยนไปเช็คจาก member.user.bot
แทนว่าถ้าเป็น bot ให้ skip
ต้องการไม่ให้ Bot ทำงานในขณะที่มีแค่ 1 User เข้ามาอยู่ใน Channel นั้น เพราะไม่จำเป็นที่จะต้องบอกใคร
เช่น Channel นั้นไม่มีคนอยู่ แล้วพอมีแค่ User เดียวเข้ามา Bot ก็ไม่จำเป็นต้องทำงาน
กรณีที่ user เข้า/ออก ห้องพร้อมกัน 2 คนขึ้นไป ปกติควรจะประกาศว่า มี n คนเข้ามาจ้า
แต่ตอนนี้บอทประกาศแค่ มีสอง...
แล้วตัดไปอ่านชื่อคนล่าสุดแทน และบางครั้งก็ไม่ประกาศอะไรเลย
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.