refactor(commands/voice/queue): separate typing trigger error handling
In case this exact call is ratelimited for some reason.
This commit is contained in:
@@ -153,7 +153,11 @@ async def queue_or_play(message, edited=False):
|
||||
return
|
||||
|
||||
try:
|
||||
async with message.channel.typing():
|
||||
await message.channel.trigger_typing()
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
try:
|
||||
player = await audio.youtubedl.YTDLSource.from_url(
|
||||
" ".join(query),
|
||||
loop=client.loop,
|
||||
|
||||
Reference in New Issue
Block a user