From f5b6ac2f9c4dfe0fb409c1178a4bddd69290fef1 Mon Sep 17 00:00:00 2001 From: Vexed01 Date: Sat, 13 Jun 2020 20:27:18 +0100 Subject: [PATCH] change docstring and message to explicitly say DMs --- redbot/core/core_commands.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/redbot/core/core_commands.py b/redbot/core/core_commands.py index fb86b676b..98777d344 100644 --- a/redbot/core/core_commands.py +++ b/redbot/core/core_commands.py @@ -542,22 +542,21 @@ class Core(commands.Cog, CoreLogic): @embedset.command(name="user") async def embedset_user(self, ctx: commands.Context, enabled: bool = None): """ - Toggle the user's embed setting. + Toggle the user's embed setting for DMs. If enabled is None, the setting will be unset and the global default will be used instead. If set, this is used instead of the global default to determine whether or not to use embeds. This is - used for all commands done in a DM with the bot, as - well as all help commands everywhere. + used for all commands done in a DM with the bot. """ await self.bot._config.user(ctx.author).embeds.set(enabled) if enabled is None: await ctx.send(_("Embeds will now fall back to the global setting.")) else: await ctx.send( - _("Embeds are now {} for you.").format(_("enabled") if enabled else _("disabled")) + _("Embeds are now {} for you, in DMs.").format(_("enabled") if enabled else _("disabled")) ) @commands.command()