Fix
This commit is contained in:
parent
71f9be9f42
commit
5272ed1af2
1 changed files with 1 additions and 0 deletions
1
index.js
1
index.js
|
@ -135,6 +135,7 @@ client.on("interactionCreate", (int) => {
|
||||||
}
|
}
|
||||||
int.reply({embeds: [embed], components: [msgRow]});
|
int.reply({embeds: [embed], components: [msgRow]});
|
||||||
} else if(int.commandName == "send"){
|
} else if(int.commandName == "send"){
|
||||||
|
console.log("Send!");
|
||||||
if(!allowed.includes(int.user.id)) return int.reply({content: "You don't have permissions to use this command.", ephemeral: true});
|
if(!allowed.includes(int.user.id)) return int.reply({content: "You don't have permissions to use this command.", ephemeral: true});
|
||||||
var channel = int.options.getChannel("channel") || int.channel;
|
var channel = int.options.getChannel("channel") || int.channel;
|
||||||
var message = int.options.getString("message");
|
var message = int.options.getString("message");
|
||||||
|
|
Loading…
Reference in a new issue