mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-23 03:33:17 +00:00
Update exe.js
This commit is contained in:
parent
dfa2093026
commit
6b50165e6f
@ -1,7 +1,7 @@
|
|||||||
module.exports = function (msg, args, client, Discord, prefix, command) {
|
module.exports = function (msg, args, client, Discord, prefix, command) {
|
||||||
const permissions = msg.channel.permissionsFor(msg.client.user);
|
const permissions = msg.channel.permissionsFor(msg.client.user);
|
||||||
if (!permissions.has('EMBED_LINKS')) return msg.channel.send('<:redx:674263474704220182> I cannot send embeds (Embed links), make sure I have the proper permissions!');
|
if (!permissions.has('EMBED_LINKS')) return msg.channel.send('<:redx:674263474704220182> I cannot send embeds (Embed links), make sure I have the proper permissions!');
|
||||||
if (!permissions.has('USE_EXTERNAL_EMOJIS')) return msg.channel.send('<:redx:674263474704220182> I cannot use external emojis, make sure I have the proper permissions!'); DEPRACATED!
|
if (!permissions.has('USE_EXTERNAL_EMOJIS')) return msg.channel.send('<:redx:674263474704220182> I cannot use external emojis, make sure I have the proper permissions!');
|
||||||
try {
|
try {
|
||||||
command.uses++;
|
command.uses++;
|
||||||
command.execute(msg, args, client, Discord, prefix, command);
|
command.execute(msg, args, client, Discord, prefix, command);
|
||||||
|
Loading…
Reference in New Issue
Block a user