disable typing for music
This commit is contained in:
		
							parent
							
								
									e633c6b65a
								
							
						
					
					
						commit
						7c33e44e00
					
				
					 1 changed files with 2 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -69,7 +69,7 @@ exports.play = async function (client, message, query, playNext, ignoreQueue) {
 | 
			
		|||
  const guild = exports.getGuild(message.guild.id)
 | 
			
		||||
  guild.message = message
 | 
			
		||||
  
 | 
			
		||||
  message.channel.startTyping()
 | 
			
		||||
  // message.channel.startTyping()
 | 
			
		||||
 | 
			
		||||
  if (!message.member.voice.channel && !guild.voiceChannel) {
 | 
			
		||||
    message.channel.stopTyping()
 | 
			
		||||
| 
						 | 
				
			
			@ -240,9 +240,7 @@ exports.setVolume = function (guild, target) {
 | 
			
		|||
exports.skip = function (guild, reason) {
 | 
			
		||||
  const g = exports.getGuild(guild.id)
 | 
			
		||||
 | 
			
		||||
  g.skippers = []
 | 
			
		||||
 | 
			
		||||
  if (g.dispatcher) {
 | 
			
		||||
    g.dispatcher.end(reason)
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue