From d6435eff85968c0703384b17f82f9b38abdf345a Mon Sep 17 00:00:00 2001 From: Draper <27962761+Drapersniper@users.noreply.github.com> Date: Thu, 4 Jun 2020 12:33:33 +0100 Subject: [PATCH] make audioset autoplay guild-only (#3899) --- redbot/cogs/audio/core/commands/audioset.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/redbot/cogs/audio/core/commands/audioset.py b/redbot/cogs/audio/core/commands/audioset.py index 5f84fdfbc..691a1b2b5 100644 --- a/redbot/cogs/audio/core/commands/audioset.py +++ b/redbot/cogs/audio/core/commands/audioset.py @@ -418,12 +418,8 @@ class AudioSetCommands(MixinMeta, metaclass=CompositeMetaClass): ), ) - @command_audioset.group(name="globaldb", enabled=False, hidden=True) - @commands.is_owner() - async def command_audioset_audiodb(self, ctx: commands.Context): - """Change global db settings.""" - @command_audioset.group(name="autoplay") + @commands.guild_only() @commands.mod_or_permissions(manage_guild=True) async def command_audioset_autoplay(self, ctx: commands.Context): """Change auto-play setting."""