docs: clarified how -shortmuteset message works

This commit is contained in:
Seaswimmer 2023-08-08 02:42:27 -04:00
parent 9d8b9353a9
commit 26d17ea68b
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -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)