[Mod] Fix shorthelp for [p]modset dm (#3488)

* Update settings.py

* Update settings.py

* Create 3488.misc.rst

* Update settings.py
This commit is contained in:
jack1142 2020-02-03 22:14:19 +01:00 committed by GitHub
parent 64106c771a
commit 8454239a98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -0,0 +1 @@
Fix incomplete short help of ``[p]modset dm`` command.

View File

@ -215,8 +215,7 @@ class ModSettings(MixinMeta):
@modset.command() @modset.command()
@commands.guild_only() @commands.guild_only()
async def dm(self, ctx: commands.Context, enabled: bool = None): async def dm(self, ctx: commands.Context, enabled: bool = None):
"""Toggle whether to send a message to a user when they are """Toggle whether a message should be sent to a user when they are kicked/banned.
kicked/banned.
If this option is enabled, the bot will attempt to DM the user with the guild name If this option is enabled, the bot will attempt to DM the user with the guild name
and reason as to why they were kicked/banned. and reason as to why they were kicked/banned.