From 2fa0cf3de50b1544cfc7121db41567af9fac109f Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Tue, 8 Aug 2023 02:34:47 -0400 Subject: [PATCH] fix: more docstring shortening --- shortmute/shortmute.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/shortmute/shortmute.py b/shortmute/shortmute.py index 1598d30..3491260 100644 --- a/shortmute/shortmute.py +++ b/shortmute/shortmute.py @@ -173,7 +173,7 @@ class Shortmute(commands.Cog): @commands.guild_only() @commands.admin() async def shortmute_config_channel(self, ctx: commands.Context): - """Lists the channels that /shortmute is logging to.""" + """Manages /shortmute logging.""" current_list = await self.config.guild(ctx.guild).logging_channels() already_in_list = [] for channel_id in current_list: @@ -219,7 +219,7 @@ class Shortmute(commands.Cog): @commands.guild_only() @commands.admin() async def shortmute_config_role(self, ctx: commands.Context): - """Lists the roles that are immune from /shortmute.""" + """Manages the immune roles list.""" current_list = await self.config.guild(ctx.guild).immune_roles() already_in_list = [] for role_id in current_list: @@ -263,7 +263,7 @@ class Shortmute(commands.Cog): @commands.guild_only() @commands.admin() async def shortmute_config_blacklist(self, ctx: commands.Context): - """Lists the users that are blacklisted from using /shortmute.""" + """Manages the blacklist.""" current_list = await self.config.guild(ctx.guild).blacklisted_users() already_in_list = [] for user_id in current_list: @@ -307,7 +307,7 @@ class Shortmute(commands.Cog): @commands.guild_only() @commands.admin() async def shortmute_config_message(self, ctx: commands.Context, enabled: bool = None): - """Changes if /shortmute Direct Messages its target.""" + """Manages if /shortmute Direct Messages its target.""" old_value = await self.config.guild(ctx.guild).dm() if enabled: await self.config.guild(ctx.guild).dm.set(enabled)