From 4bdc828670cfcb89f6849a0fb216b44802d12943 Mon Sep 17 00:00:00 2001 From: benno1237 <35632314+benno1237@users.noreply.github.com> Date: Thu, 13 May 2021 02:24:07 +0200 Subject: [PATCH] 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> --- redbot/cogs/audio/core/commands/miscellaneous.py | 1 + 1 file changed, 1 insertion(+) diff --git a/redbot/cogs/audio/core/commands/miscellaneous.py b/redbot/cogs/audio/core/commands/miscellaneous.py index fabf62d6a..be3c3e636 100644 --- a/redbot/cogs/audio/core/commands/miscellaneous.py +++ b/redbot/cogs/audio/core/commands/miscellaneous.py @@ -40,6 +40,7 @@ class MiscellaneousCommands(MixinMeta, metaclass=CompositeMetaClass): @commands.command(name="audiostats") @commands.guild_only() + @commands.is_owner() @commands.bot_has_permissions(embed_links=True, add_reactions=True) async def command_audiostats(self, ctx: commands.Context): """Audio stats."""