rate can no longer ping roles
This commit is contained in:
		
							parent
							
								
									4bbdac7070
								
							
						
					
					
						commit
						3dcdd1f2ad
					
				
					 1 changed files with 17 additions and 16 deletions
				
			
		| 
						 | 
					@ -3,7 +3,8 @@ exports.run = async (client, message, args) => {
 | 
				
			||||||
    return message.channel.send(
 | 
					    return message.channel.send(
 | 
				
			||||||
        `<:error:466995152976871434> What am I meant to rate? Usage: \`${client.commands.get(`rate`).help.usage}\``
 | 
					        `<:error:466995152976871434> What am I meant to rate? Usage: \`${client.commands.get(`rate`).help.usage}\``
 | 
				
			||||||
    );
 | 
					    );
 | 
				
			||||||
var rating = [
 | 
					    
 | 
				
			||||||
 | 
					    var rating = [
 | 
				
			||||||
        "0/10",
 | 
					        "0/10",
 | 
				
			||||||
        "1/10",
 | 
					        "1/10",
 | 
				
			||||||
        "2/10",
 | 
					        "2/10",
 | 
				
			||||||
| 
						 | 
					@ -15,11 +16,11 @@ var rating = [
 | 
				
			||||||
        "8/10",
 | 
					        "8/10",
 | 
				
			||||||
        "9/10",
 | 
					        "9/10",
 | 
				
			||||||
        "10/10"
 | 
					        "10/10"
 | 
				
			||||||
];
 | 
					    ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if (message.content.includes("@everyone") || message.content.includes("@here")) {
 | 
					    if (message.content.includes("@everyone") || message.content.includes("@here") || message.content.includes("<@&")) {
 | 
				
			||||||
        return message.channel.send('>:(');
 | 
					        return message.channel.send('>:(');
 | 
				
			||||||
}
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    let mess = rating.random();
 | 
					    let mess = rating.random();
 | 
				
			||||||
    message.channel.send(`<:star:618393201501536258> I give ${args.join(" ")} a **${mess}**`);
 | 
					    message.channel.send(`<:star:618393201501536258> I give ${args.join(" ")} a **${mess}**`);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue