const { Events } = require("discord.js"); module.exports = { name: Events.GuildMemberAdd, async execute(member) { // ===== CONFIG (EDIT ONLY THESE IDS) ===== const USER_ROLE_ID = "1440518923610095636"; const BOT_ROLE_ID = "1461712304432484516"; // ====================================== try { if (member.user.bot) { if (!BOT_ROLE_ID) return; await member.roles.add(BOT_ROLE_ID); } else { if (!USER_ROLE_ID) return; await member.roles.add(USER_ROLE_ID); } } catch (error) { console.error("Auto Role Event Error:", error); } } };