trigger typing when sending a message

This commit is contained in:
Nexus 2023-03-22 15:19:48 +00:00
parent d9552cf6ec
commit cdce7f839c

View file

@ -231,6 +231,7 @@ class Events(commands.Cog):
voice = await message.author.voice.channel.connect()
if voice.self_mute or voice.mute:
await voice.disconnect()
await message.channel.trigger_typing()
await message.reply("Unmute me >:(", file=discord.File(file))
else:
voice.play(
@ -241,6 +242,7 @@ class Events(commands.Cog):
)
)
else:
await message.channel.trigger_typing()
await message.reply(file=discord.File(file))
if "linux" in message.content.lower() and self.bot.user in message.mentions: