From 3cb17116be9c8d23334424a4a05d7a1c2ea01ecc Mon Sep 17 00:00:00 2001
From: Kowlin <10947836+Kowlin@users.noreply.github.com>
Date: Thu, 22 Dec 2022 23:41:52 +0100
Subject: [PATCH 01/43] Revert ``mock`` and ``mockmsg`` back to a guild_only
state (#5926)
---
redbot/core/dev_commands.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/redbot/core/dev_commands.py b/redbot/core/dev_commands.py
index 27db6af4ed0..9fea9dc8c93 100644
--- a/redbot/core/dev_commands.py
+++ b/redbot/core/dev_commands.py
@@ -359,9 +359,10 @@ async def pause(self, ctx, toggle: Optional[bool] = None):
else:
await ctx.send(_("The REPL session in this channel is now paused."))
+ @commands.guild_only()
@commands.command()
@checks.is_owner()
- async def mock(self, ctx, user: discord.User, *, command):
+ async def mock(self, ctx, user: discord.Member, *, command):
"""Mock another user invoking a command.
The prefix must not be entered.
@@ -372,9 +373,10 @@ async def mock(self, ctx, user: discord.User, *, command):
ctx.bot.dispatch("message", msg)
+ @commands.guild_only()
@commands.command(name="mockmsg")
@checks.is_owner()
- async def mock_msg(self, ctx, user: discord.User, *, content: str = ""):
+ async def mock_msg(self, ctx, user: discord.Member, *, content: str = ""):
"""Dispatch a message event as if it were sent by a different user.
Current message is used as a base (including attachments, embeds, etc.),
From 1c7178a10b2ae2ae017956c8a3dcbd95ba8fce00 Mon Sep 17 00:00:00 2001
From: Kreusada <67752638+Kreusada@users.noreply.github.com>
Date: Thu, 22 Dec 2022 22:49:44 +0000
Subject: [PATCH 02/43] Add automodule reference for the antispam module
(#5641)
Co-authored-by: Jakub Kuczys
-
+
From 0e58897bfcc67a245fa421549900fae2cd9d1b55 Mon Sep 17 00:00:00 2001
From: Kowlin <10947836+Kowlin@users.noreply.github.com>
Date: Sun, 25 Dec 2022 15:40:35 +0100
Subject: [PATCH 04/43] Add SECURITY.md to the repo (#5929)
Co-authored-by: Jakub Kuczys 3PDlVzClTk!rF1QDIfGXGZS8Gtec8J(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