diff --git a/bot.js b/bot.js index bcd5a55..4789a49 100644 --- a/bot.js +++ b/bot.js @@ -68,7 +68,7 @@ client.on("message", async message => { prefix = defaultPrefix; } - if (message.content === `<@!${client.user.id}>`) { + if (message.content === `<@!${client.user.id}>` || message.content === `<@${client.user.id}>`) { message.reply(`\nPrefix: \`${prefix}\`\nHelp: \`${prefix}help\`\nChange Prefix: \`${prefix}prefix [new prefix]\``); } @@ -616,6 +616,7 @@ async function roleInfo(message) { async function addRole(message) { if (!message.member.hasPermission('ADMINISTRATOR')) { message.reply("you do not have adequate permissions!") + return; } if (!message.content.split(" ")[1]) {