mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
Added owner check for audiostats (#5017)
* Added owner check for audiostats * Update redbot/cogs/audio/core/commands/miscellaneous.py Co-authored-by: Draper <27962761+Drapersniper@users.noreply.github.com> * Update miscellaneous.py Co-authored-by: Draper <27962761+Drapersniper@users.noreply.github.com>
This commit is contained in:
parent
c04c2efeff
commit
4bdc828670
@ -40,6 +40,7 @@ class MiscellaneousCommands(MixinMeta, metaclass=CompositeMetaClass):
|
|||||||
|
|
||||||
@commands.command(name="audiostats")
|
@commands.command(name="audiostats")
|
||||||
@commands.guild_only()
|
@commands.guild_only()
|
||||||
|
@commands.is_owner()
|
||||||
@commands.bot_has_permissions(embed_links=True, add_reactions=True)
|
@commands.bot_has_permissions(embed_links=True, add_reactions=True)
|
||||||
async def command_audiostats(self, ctx: commands.Context):
|
async def command_audiostats(self, ctx: commands.Context):
|
||||||
"""Audio stats."""
|
"""Audio stats."""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user