diff --git a/.vscode/settings.json b/.vscode/settings.json index c1d1f0a..8d955a5 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,4 +1,4 @@ { "python.linting.pycodestyleEnabled": true, - "python.linting.enabled": true + "python.linting.enabled": false } \ No newline at end of file diff --git a/cogs/events.py b/cogs/events.py index 98ff164..20e4280 100644 --- a/cogs/events.py +++ b/cogs/events.py @@ -242,6 +242,11 @@ class Events(commands.Cog): try: voice = await message.author.voice.channel.connect(timeout=10, reconnect=False) except asyncio.TimeoutError: + await message.channel.trigger_typing() + await message.reply( + "I'd play the song but discord's voice servers are shit.", + file=discord.File(file) + ) region = message.author.voice.channel.rtc_region console.log( "Timed out connecting to voice channel: {0.name} in {0.guild.name} "