Skip to content

About

A /color slash command that shows a dropdown with options, receives the member's choice and updates the message. Useful for roles, settings and categories. 🌐 https://ahmadds.qzz.io/w/select-menu-command

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Select Menu Command

A /color slash command that shows a dropdown with options, receives the member's choice and updates the message. Useful for roles, settings and categories.

🌐 Live page / صفحة المشروع

Discord Discord.js Slash Commands Select Menu Components Bot Code

🚀 Setup

  1. Put the code in a color.js file inside the commands folder
  2. In your interactionCreate event add: if (i.isStringSelectMenu() && i.customId === 'color_menu') return require('./commands/color').onSelect(i); then start with {{Run command}}
  3. Use /color and try the menu; add more options the same way
# Run command
node index.js

🚀 طريقة التشغيل

  1. ضع الكود في ملف color.js داخل مجلد commands
  2. أضف في حدث interactionCreate: if (i.isStringSelectMenu() && i.customId === 'color_menu') return require('./commands/color').onSelect(i); ثم شغّل {{أمر التشغيل}}
  3. استخدم /color وجرّب القائمة؛ أضف خيارات بنفس الطريقة

💻 Code

See color.js.

📝 بالعربي

كود أمر قائمة اختيار (Select Menu)

أمر سلاش /color يعرض قائمة منسدلة بخيارات، ويستقبل اختيار العضو ويحدّث الرسالة. مفيد للرتب والإعدادات والأقسام.


Made with ❤️ — more projects at https://ahmadds.qzz.io

📦 All versions / كل الإصدارات

About

A /color slash command that shows a dropdown with options, receives the member's choice and updates the message. Useful for roles, settings and categories. 🌐 https://ahmadds.qzz.io/w/select-menu-command

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors