mirror of
				https://github.com/musix-org/musix-oss
				synced 2025-11-04 09:49:32 +00:00 
			
		
		
		
	cmduses
This commit is contained in:
		@@ -2,6 +2,7 @@ module.exports = function (message, args, client, Discord, prefix, command) {
 | 
			
		||||
    const permissions = message.channel.permissionsFor(message.client.user);
 | 
			
		||||
    if (!permissions.has('EMBED_LINKS')) return message.channel.send(':x: I cannot send embeds (Embed links), make sure I have the proper permissions!');
 | 
			
		||||
    try {
 | 
			
		||||
        command.uses++;
 | 
			
		||||
        command.execute(message, args, client, Discord, prefix);
 | 
			
		||||
    } catch (error) {
 | 
			
		||||
        message.reply(`:x: there was an error trying to execute that command! Please contact support with \`${prefix}bug\`!`);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user