From 366628c37abdddcb61ba2a8d0fab3be79281600a Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Tue, 8 Aug 2023 02:39:40 -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 381d0b1..d0edf8f 100644 --- a/shortmute/shortmute.py +++ b/shortmute/shortmute.py @@ -189,7 +189,7 @@ class Shortmute(commands.Cog): @commands.guild_only() @commands.admin() async def shortmute_config_channel_add(self, ctx: commands.Context, channel: discord.TextChannel = None): - """Adds a channel to the /shortmute logging channels list.""" + """Adds a channel to the logging channels list.""" current_list = await self.config.guild(ctx.guild).logging_channels() if channel: if channel.id in current_list: @@ -206,7 +206,7 @@ class Shortmute(commands.Cog): @commands.guild_only() @commands.admin() async def shortmute_config_channel_remove(self, ctx: commands.Context, channel: discord.TextChannel = None): - """Removes a channel from the /shortmute logging channels list.""" + """Removes a channel from the logging channels list.""" current_list = await self.config.guild(ctx.guild).logging_channels() if channel.id in current_list: current_list.remove(channel.id) @@ -235,7 +235,7 @@ class Shortmute(commands.Cog): @commands.guild_only() @commands.admin() async def shortmute_config_role_add(self, ctx: commands.Context, role: discord.Role = None): - """Adds roles to the /shortmute immune roles list.""" + """Adds roles to the /shortmute immune roles.""" current_list = await self.config.guild(ctx.guild).immune_roles() if role: if role.id in current_list: @@ -252,7 +252,7 @@ class Shortmute(commands.Cog): @commands.guild_only() @commands.admin() async def shortmute_config_role_remove(self, ctx: commands.Context, role: discord.Role = None): - """Removes roles from the /shortmute immune roles list.""" + """Removes roles from the /shortmute immune roles.""" current_list = await self.config.guild(ctx.guild).immune_roles() if role.id in current_list: current_list.remove(role.id)