Update add.js
This commit is contained in:
1 parent
018ef19efd
commit
d96ccc3265
1 file changed
+1
-1
+1
-1
@@ -36,7 +36,7 @@ exports.run = (bot, message, args) => {
|
|||||||
.setColor(supportbot.WarningColour);
|
.setColor(supportbot.WarningColour);
|
||||||
if(!rUser) return message.channel.send({embed: cantfinduser});
|
if(!rUser) return message.channel.send({embed: cantfinduser});
|
||||||
|
|
||||||
message.channel.updateOverwrite(ruser, { VIEW_CHANNEL: true, CREATE_INVITE: false, SEND_MESSAGES: true, READ_MESSAGES: true });
|
message.channel.updateOverwrite(rUser, { VIEW_CHANNEL: true, CREATE_INVITE: false, SEND_MESSAGES: true, READ_MESSAGES: true });
|
||||||
|
|
||||||
const useradded = new Discord.MessageEmbed()
|
const useradded = new Discord.MessageEmbed()
|
||||||
.setColor(supportbot.SuccessColour)
|
.setColor(supportbot.SuccessColour)
|
||||||
|
|||||||
Reference in new issue
Block a user