diff options
author | AnInternetTroll <lucafulger@gmail.com> | 2020-05-31 17:43:52 +0000 |
---|---|---|
committer | AnInternetTroll <lucafulger@gmail.com> | 2020-05-31 17:43:52 +0000 |
commit | d7d868a43adb2bd3f89b4400288a397960e85769 (patch) | |
tree | 37d57254c1cdb823a8be7f9267c6dfcf491e5d26 /cogs/player.py | |
parent | 5731037878ad270803d2c3bbfe5b3980acb1ded8 (diff) | |
download | steve-bot-d7d868a43adb2bd3f89b4400288a397960e85769.tar steve-bot-d7d868a43adb2bd3f89b4400288a397960e85769.tar.gz steve-bot-d7d868a43adb2bd3f89b4400288a397960e85769.tar.bz2 steve-bot-d7d868a43adb2bd3f89b4400288a397960e85769.tar.lz steve-bot-d7d868a43adb2bd3f89b4400288a397960e85769.tar.xz steve-bot-d7d868a43adb2bd3f89b4400288a397960e85769.tar.zst steve-bot-d7d868a43adb2bd3f89b4400288a397960e85769.zip |
Replace Dyno
Diffstat (limited to '')
-rw-r--r-- | cogs/player.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/cogs/player.py b/cogs/player.py index c977838..d7d2302 100644 --- a/cogs/player.py +++ b/cogs/player.py @@ -75,8 +75,6 @@ class Player(commands.Cog): return await ctx.voice_client.move_to(channel) await channel.connect() - - @commands.check(is_in_vc) @commands.command() async def play(self, ctx, *, query): """Plays a file from the local filesystem""" @@ -85,8 +83,6 @@ class Player(commands.Cog): ctx.voice_client.play(source, after=lambda e: print('Player error: %s' % e) if e else None) await ctx.send('Now playing: {}'.format(query)) - - @commands.check(is_in_vc) @commands.command() async def yt(self, ctx, *, url): """Plays from a url (almost anything youtube_dl supports)""" @@ -97,7 +93,6 @@ class Player(commands.Cog): await ctx.send('Now playing: {}'.format(player.title)) - @commands.check(is_in_vc) @commands.command() async def stream(self, ctx, *, url): """Streams from a url (same as yt, but doesn't predownload)""" |