mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-20 18:06:08 -05:00
make audioset autoplay guild-only (#3899)
This commit is contained in:
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user