From 31612aae4a2e35d59e7a6a67d660bafdc7935315 Mon Sep 17 00:00:00 2001 From: Michael H Date: Mon, 11 Jun 2018 08:02:29 -0400 Subject: [PATCH] [V3 Mod] Fix [p]modset used without a subcommand (#1854) --- redbot/cogs/mod/mod.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redbot/cogs/mod/mod.py b/redbot/cogs/mod/mod.py index 7be6d0207..bdfc701c9 100644 --- a/redbot/cogs/mod/mod.py +++ b/redbot/cogs/mod/mod.py @@ -167,7 +167,7 @@ class Mod: async def modset(self, ctx: commands.Context): """Manages server administration settings.""" if ctx.invoked_subcommand is None: - + guild = ctx.guild # Display current settings delete_repeats = await self.settings.guild(guild).delete_repeats() ban_mention_spam = await self.settings.guild(guild).ban_mention_spam()