forked from embee/woomy
		
	remove message content printing
This commit is contained in:
		
							parent
							
								
									ea52ce2fcf
								
							
						
					
					
						commit
						0360a5c581
					
				
					 1 changed files with 2 additions and 4 deletions
				
			
		| 
						 | 
					@ -135,8 +135,6 @@ module.exports = async (client, message) => {
 | 
				
			||||||
  const myMention = `<@&${client.user.id}>`;
 | 
					  const myMention = `<@&${client.user.id}>`;
 | 
				
			||||||
  const myMention2 = `<@!${client.user.id}>`;
 | 
					  const myMention2 = `<@!${client.user.id}>`;
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  console.log(message.content);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  if (message.content.startsWith(myMention) || message.content.startsWith(myMention2)) {
 | 
					  if (message.content.startsWith(myMention) || message.content.startsWith(myMention2)) {
 | 
				
			||||||
    if(message.content.length > myMention.length + 1 && (message.content.substr(0, myMention.length + 1) == myMention + ' ' || message.content.substr(0, myMention2.length + 1) == myMention2 + ' ')) {
 | 
					    if(message.content.length > myMention.length + 1 && (message.content.substr(0, myMention.length + 1) == myMention + ' ' || message.content.substr(0, myMention2.length + 1) == myMention2 + ' ')) {
 | 
				
			||||||
      prefix = message.content.substr(0, myMention.length) + ' ';
 | 
					      prefix = message.content.substr(0, myMention.length) + ' ';
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue