Skip to content

Commit

Permalink
Merge pull request #2 from alexyy802/patch-1
Browse files Browse the repository at this point in the history
Update voice.py
  • Loading branch information
VincentRPS committed Nov 23, 2021
2 parents d8eed32 + d3892d4 commit 16f9361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onami/features/voice.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async def voice_check(ctx: commands.Context):
"""

if not discord.voice_client.has_nacl:
return await ctx.send("Voice cannot be used because PyNaCl is not loaded.")
return await ctx.send("No voice support detected, Please install PyNaCl by using `pip install PyNaCl`")

if not discord.opus.is_loaded():
if hasattr(discord.opus, '_load_default'):
Expand Down

0 comments on commit 16f9361

Please sign in to comment.