disable typing for music

This commit is contained in:
Emily 2020-05-09 16:48:25 +10:00
parent e633c6b65a
commit 7c33e44e00

View file

@ -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)
}
}
}