aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/moderation/alts.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bot/exts/moderation/alts.py b/bot/exts/moderation/alts.py
index b383fecb4..64e0310fe 100644
--- a/bot/exts/moderation/alts.py
+++ b/bot/exts/moderation/alts.py
@@ -72,6 +72,10 @@ class AlternateAccounts(commands.Cog):
When called directly marks the two users given as alt accounts.
The context as to why they are believed to be alt accounts must be given.
"""
+ if user_1.bot or user_2.bot:
+ await ctx.send(":x: Cannot mark bots as alts")
+ return
+
try:
await self.bot.api_client.post(
f"bot/users/{user_1.id}/alts",