05X2

Discord Bot | ระบบยืนยันตัวตน

Apr 13th, 2022 (edited)
668
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.85 KB | None | 1 0
  1. =======================================
  2. ยืนยันตัวตน(ข้อความในดิสดอด)
  3.  
  4. $deletecommand
  5.  
  6. $title[**Verification System**]
  7. $description[กรุณาเช็คโค้ดยืนยันตัวตนใน Dm!]
  8. $color[7D00ff]
  9.  
  10. $setUserVar[codevfy;$randomString[10]]
  11.  
  12. $onlyIf[$message[1]==;]
  13. $onlyIf[$getServerVar[vfystatus]==on;❌ระบบยืนยันตัวตนถูกปิดอยู่!]
  14. $onlyIf[$getServerVar[rolevfy]!=;⚠️ยังไม่ได้ตั้งค่าการมอบบทบาทหลังจากยืนยันตัวตนสำเร็จ!]
  15. $onlyIf[$getUserVar[vfy]==false;❗คุณยืนยันตัวตนไปแล้วไม่สามารถทำได้อีกครั้ง!]
  16.  
  17. =======================================
  18. โค้ดยืนยันตัวตนใน Dm
  19.  
  20. $dm
  21. $replyIn[3]
  22.  
  23. $title[**Verification System**]
  24. $description[~vfy $getUserVar[codevfy]]
  25. $color[7D00ff]
  26.  
  27. $onlyIf[$message[1]==;]
  28. $onlyIf[$getServerVar[vfystatus]==on;]
  29. $onlyIf[$getServerVar[rolevfy]!=;]
  30. $onlyIf[$getUserVar[vfy]==false;]
  31.  
  32. =======================================
  33. ใส่โค้ดยืนยันตัวตน
  34.  
  35. $deletecommand
  36.  
  37. $title[**Verification System**]
  38. $description[✅คุณได้ยืนยันตัวตนสำเร็จแล้ว!]
  39. $color[7D00ff]
  40.  
  41. $giveRole[$authorID;$getServerVar[rolevfy]]
  42. $setUserVar[vfy;true;$authorID]
  43.  
  44. $onlyIf[$message[1]!=;]
  45. $onlyIf[$message[1]==$getUserVar[codevfy];]
  46.  
  47. =======================================
  48. คำสั่งตั้งค่าบทบาท
  49.  
  50. $onlyAdmin[❌เฉพาะผู้ดูแลเพียงเท่านั้นที่สามารถใช้คำสั่งนี้ได้!]
  51. $deletecommand
  52.  
  53. $title[**Verification System**]
  54. $description[ตั้งค่าการมอบบทบาทหลังจากยืนยันตัวตนสำเร็จแล้ว!]
  55. $color[7D00ff]
  56.  
  57. $setServerVar[rolevfy;$message[3]]
  58.  
  59. $onlyIf[$message[1]==vfy;]
  60. $onlyIf[$message[2]==role;]
  61. $onlyIf[$message[3]!=;]
  62.  
  63. =======================================
  64. คำสั่งเปิดระบบยืนยันตัวตน
  65.  
  66. $onlyAdmin[❌เฉพาะผู้ดูแลเพียงเท่านั้นที่สามารถใช้คำสั่งนี้ได้!]
  67. $deletecommand
  68.  
  69. $title[**Verification System**]
  70. $description[✅เปิดระบบยืนยันตัวตนแล้ว!]
  71. $color[7D00ff]
  72.  
  73. $setServerVar[vfystatus;on]
  74.  
  75. $onlyIf[$message[1]==vfy;]
  76. $onlyIf[$message[2]==on;]
  77. $onlyIf[$getServerVar[vfystatus]==off;❗ระบบยืนยันตัวตนถูกเปิดไว้อยู่แล้ว!]
  78.  
  79. =======================================
  80. คำสั่งปิดระบบยืนยันตัวตน
  81.  
  82. $onlyAdmin[❌เฉพาะผู้ดูแลเพียงเท่านั้นที่สามารถใช้คำสั่งนี้ได้!]
  83. $deletecommand
  84.  
  85. $title[**Verification System**]
  86. $description[✅ปิดระบบยืนยันตัวตนแล้ว!]
  87. $color[7D00ff]
  88.  
  89. $setServerVar[vfystatus;off]
  90.  
  91. $onlyIf[$message[1]==vfy;]
  92. $onlyIf[$message[2]==off;]
  93. $onlyIf[$getServerVar[vfystatus]==on;❗ระบบยืนยันตัวตนถูกปิดไว้อยู่แล้ว!]
  94.  
  95. =======================================
  96. รีเซ็ตการยืนยันตัวตนของเป้าหมาย(ใช้ID)
  97.  
  98. $onlyAdmin[❌เฉพาะผู้ดูแลเพียงเท่านั้นที่สามารถใช้คำสั่งนี้ได้!]
  99. $deletecommand
  100.  
  101. $title[**Verification System**]
  102. $description[✅รีเซ็ตสถานะยืนยันตัวตนของเป้าหมายแล้ว!]
  103. $color[7D00ff]
  104.  
  105. $setUserVar[vfy;false;$message[2]]
  106.  
  107. $onlyIf[$message[1]==vfy;]
  108. $onlyIf[$message[2]!=;]
  109. $onlyIf[$message[2]!=me;]
  110.  
  111. =======================================
  112. รีเซ็ตการยืนยันตัวตนของตัวเอง(ไม่ใช้ID)
  113.  
  114. $onlyAdmin[❌เฉพาะผู้ดูแลเพียงเท่านั้นที่สามารถใช้คำสั่งนี้ได้!]
  115. $deletecommand
  116.  
  117. $title[**Verification System**]
  118. $description[✅รีเซ็ตสถานะยืนยันตัวตนของคุณแล้ว!]
  119. $color[7D00ff]
  120.  
  121. $setUserVar[vfy;false;$authorID]
  122.  
  123. $onlyIf[$message[1]==vfy;]
  124. $onlyIf[$message[2]!=;]
  125. $onlyIf[$message[2]==me;]
  126.  
  127. =======================================
  128. Value
  129.  
  130. codevfy =
  131. rolevfy =
  132. vfystatus = off
  133. vfy = false
  134.  
  135. =======================================
Add Comment
Please, Sign In to add comment