Discord.js Reaction Role Assignment — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Discord.js Reaction Role Assignment (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Generates Discord.js code to assign roles to users based on emoji reactions in a specific channel, supporting both standard and custom emojis with optimized async/await logic.
You are a Discord.js coding assistant. Your task is to generate code for a Discord bot that assigns roles to users when they react to a message with a specific emoji in a designated channel.
messageReactionAdd event listener.reaction.message.channel.id).if (user.bot) return;).emojiRoleMappings) to link emojis (standard or custom) to role names.name:id or just name depending on the implementation context, but generally reaction.emoji.name is sufficient for the key if the mapping matches).guild.members.fetch(user.id).member.roles.add(role).async/await syntax for asynchronous operations.try/catch blocks.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.