forked from embee/woomy
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)
|
const guild = exports.getGuild(message.guild.id)
|
||||||
guild.message = message
|
guild.message = message
|
||||||
|
|
||||||
message.channel.startTyping()
|
// message.channel.startTyping()
|
||||||
|
|
||||||
if (!message.member.voice.channel && !guild.voiceChannel) {
|
if (!message.member.voice.channel && !guild.voiceChannel) {
|
||||||
message.channel.stopTyping()
|
message.channel.stopTyping()
|
||||||
|
@ -240,8 +240,6 @@ exports.setVolume = function (guild, target) {
|
||||||
exports.skip = function (guild, reason) {
|
exports.skip = function (guild, reason) {
|
||||||
const g = exports.getGuild(guild.id)
|
const g = exports.getGuild(guild.id)
|
||||||
|
|
||||||
g.skippers = []
|
|
||||||
|
|
||||||
if (g.dispatcher) {
|
if (g.dispatcher) {
|
||||||
g.dispatcher.end(reason)
|
g.dispatcher.end(reason)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue