Changed Google-Search to Youtube (fix)
This commit is contained in:
1 parent
e51f75c57c
commit
bc8b212504
1 file changed
+1
@@ -247,6 +247,7 @@ else:
|
|||||||
|
|
||||||
@play.before_invoke
|
@play.before_invoke
|
||||||
@stream.before_invoke
|
@stream.before_invoke
|
||||||
|
@youtube.before_invoke
|
||||||
async def ensure_voice(ctx: commands.Context):
|
async def ensure_voice(ctx: commands.Context):
|
||||||
if ctx.voice_client is None:
|
if ctx.voice_client is None:
|
||||||
if ctx.author.voice:
|
if ctx.author.voice:
|
||||||
|
|||||||
Reference in new issue
Block a user