From 26d17ea68b9604a1debc22370a66c23334d3eb2c Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Tue, 8 Aug 2023 02:42:27 -0400 Subject: [PATCH] docs: clarified how -shortmuteset message works --- shortmute/shortmute.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/shortmute/shortmute.py b/shortmute/shortmute.py index 470bd37..467e6bb 100644 --- a/shortmute/shortmute.py +++ b/shortmute/shortmute.py @@ -311,7 +311,12 @@ class Shortmute(commands.Cog): @commands.guild_only() @commands.admin() async def shortmute_config_message(self, ctx: commands.Context, enabled: bool = None): - """Manages if /shortmute Direct Messages its target.""" + """Manages if /shortmute Direct Messages its target. + + Parameters + ------------ + enabled: bool (optional) + This parameter, if set, will toggle this setting to either True or False.""" old_value = await self.config.guild(ctx.guild).dm() if enabled: await self.config.guild(ctx.guild).dm.set(enabled)