mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
make audioset autoplay guild-only (#3899)
This commit is contained in:
parent
2c313594da
commit
d6435eff85
@ -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")
|
@command_audioset.group(name="autoplay")
|
||||||
|
@commands.guild_only()
|
||||||
@commands.mod_or_permissions(manage_guild=True)
|
@commands.mod_or_permissions(manage_guild=True)
|
||||||
async def command_audioset_autoplay(self, ctx: commands.Context):
|
async def command_audioset_autoplay(self, ctx: commands.Context):
|
||||||
"""Change auto-play setting."""
|
"""Change auto-play setting."""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user