A ready slash command /userinfo that shows a clean card with the member's avatar, ID, account age, join date and roles sorted from the highest, and handles users who already left the server.
Discord Discord.js Slash Commands Utility Userinfo Bot Code
- Put the code in a
userinfo.jsfile inside thecommandsfolder of your bot project (works with the command handler on this site) - It needs no special permissions besides sending messages
- Start it with the {{Run command}} then use
/userinfoor/userinfo user:@member
# Run command
node index.js- ضع الكود في ملف
userinfo.jsداخل مجلدcommandsفي مشروع البوت (يعمل مع هاندلر الأوامر الموجود في الموقع) - لا يحتاج أي صلاحيات خاصة غير إرسال الرسائل
- شغّل المشروع عن طريق {{أمر التشغيل}} ثم استخدم
/userinfoأو/userinfo user:@عضو
See userinfo.js.
كود أمر معلومات العضو
أمر سلاش /userinfo جاهز: يعرض بطاقة جميلة فيها صورة العضو وآيديه وعمر حسابه وتاريخ انضمامه ورتبه مرتبة من الأعلى، مع دعم الأعضاء الذين غادروا السيرفر.
Made with ❤️ — more projects at https://ahmadds.qzz.io