diff --git a/shortmute/shortmute.py b/shortmute/shortmute.py index 62194be..af6928c 100644 --- a/shortmute/shortmute.py +++ b/shortmute/shortmute.py @@ -167,13 +167,13 @@ class Shortmute(commands.Cog): @commands.guild_only() @commands.admin() async def shortmute_config(self, ctx: commands.Context): - """Used to configure the `/shortmute` slash command.""" + """Used to configure the /shortmute slash command.""" @shortmute_config.group(name='channel', invoke_without_command=True, aliases=['channels']) @commands.guild_only() @commands.admin() async def shortmute_config_channel(self, ctx: commands.Context): - """Checks the existing list of channels that `/shortmute` is logging to.""" + """Checks the existing list of channels that /shortmute is logging to.""" current_list = await self.config.guild(ctx.guild).logging_channels() already_in_list = [] for channel_id in current_list: @@ -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): - """Changes where the `/shortmute` slash command will log shortmutes.""" + """Changes where the /shortmute slash command will log shortmutes.""" 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`slash command's logging channels list.""" + """Removes a channel from the /shortmuteslash command's logging channels list.""" current_list = await self.config.guild(ctx.guild).logging_channels() if channel.id in current_list: current_list.remove(channel.id) @@ -219,7 +219,7 @@ class Shortmute(commands.Cog): @commands.guild_only() @commands.admin() async def shortmute_config_role(self, ctx: commands.Context): - """Checks the existing list of roles that are immune from `/shortmute`.""" + """Checks the existing list of roles that are immune from /shortmute.""" current_list = await self.config.guild(ctx.guild).immune_roles() already_in_list = [] for role_id in current_list: @@ -233,7 +233,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 immune roles list for the `/shortmute` slash command.""" + """Adds roles to the immune roles list for the /shortmute slash command.""" current_list = await self.config.guild(ctx.guild).immune_roles() if role: if role.id in current_list: @@ -250,7 +250,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 immune roles list for the `/shortmute` slash command.""" + """Removes roles from the immune roles list for the /shortmute slash command.""" current_list = await self.config.guild(ctx.guild).immune_roles() if role.id in current_list: current_list.remove(role.id) @@ -263,7 +263,7 @@ class Shortmute(commands.Cog): @commands.guild_only() @commands.admin() async def shortmute_config_blacklist(self, ctx: commands.Context): - """Checks the existing list of users that are blacklisted from using `/shortmute`.""" + """Checks the existing list of users that are blacklisted from using /shortmute.""" current_list = await self.config.guild(ctx.guild).blacklisted_users() already_in_list = [] for user_id in current_list: @@ -277,7 +277,7 @@ class Shortmute(commands.Cog): @commands.guild_only() @commands.admin() async def shortmute_config_blacklist_add(self, ctx: commands.Context, user: discord.User = None): - """Adds users to the blacklist for the `/shortmute` slash command.""" + """Adds users to the blacklist for the /shortmute slash command.""" current_list = await self.config.guild(ctx.guild).blacklisted_users() if user: if user.id in current_list: @@ -294,7 +294,7 @@ class Shortmute(commands.Cog): @commands.guild_only() @commands.admin() async def shortmute_config_blacklist_remove(self, ctx: commands.Context, user: discord.User = None): - """Removes users from the blacklist for the `/shortmute` slash command.""" + """Removes users from the blacklist for the /shortmute slash command.""" current_list = await self.config.guild(ctx.guild).blacklisted_users() if user.id in current_list: current_list.remove(user.id) @@ -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 the `/shortmute` slash command Direct Messages its target.""" + """Changes if the /shortmute slash command Direct Messages its target.""" old_value = await self.config.guild(ctx.guild).dm() if enabled: await self.config.guild(ctx.guild).dm.set(enabled)