Browse Source

Remove declared variables from roleCreate

master
Abheek Dhawan 4 years ago
parent
commit
568ffb404b
  1. 4
      index.js

4
index.js

@ -400,10 +400,6 @@ client.on('messageReactionRemove', (messageReaction, user) => {
}); });
client.on('roleCreate', role => { client.on('roleCreate', role => {
const userTag = user.tag;
const emoji = messageReaction.emoji.name;
const messageContent = messageReaction.message.content;
let channelCategory;
const messageReactionRemoveEmbed = new Discord.MessageEmbed() const messageReactionRemoveEmbed = new Discord.MessageEmbed()
.setTitle("Role Added") .setTitle("Role Added")
.addField("Name", role.name) .addField("Name", role.name)

Loading…
Cancel
Save