mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
trigger typing when sending a message
This commit is contained in:
parent
d9552cf6ec
commit
cdce7f839c
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue