diff --git a/index.js b/index.js index f3aefe3..8ccddbd 100644 --- a/index.js +++ b/index.js @@ -125,7 +125,8 @@ async function roleRequest(message) { const role = message.content.substring(13).toLowerCase(); const possibleRoles = ['spec', 'spectator', 'reader', 'writer']; if (message.channel.id !== "826904255012667452") { - message.reply("wrong channel!") + message.reply("wrong channel!"); + return; } if (possibleRoles.indexOf(role) === -1) { message.reply("not a valid role!");