aa
This commit is contained in:
parent
59ef9f5a8a
commit
0a1366178a
@ -996,7 +996,7 @@ class LoggingCog(commands.Cog):
|
||||
|
||||
if changes:
|
||||
embed = self._create_log_embed(
|
||||
title="⚙️ Guild Updated",
|
||||
# title="⚙️ Guild Updated", # Removed duplicate title
|
||||
title="⚙️ Guild Updated (Event)",
|
||||
description="Server settings were updated.\n*Audit log may contain updater.*\n" + "\n".join(changes),
|
||||
color=discord.Color.dark_purple()
|
||||
@ -1033,7 +1033,7 @@ class LoggingCog(commands.Cog):
|
||||
|
||||
if desc:
|
||||
embed = self._create_log_embed(
|
||||
title="😀 Emojis Updated",
|
||||
# title="😀 Emojis Updated", # Removed duplicate title
|
||||
title="😀 Emojis Updated (Event)",
|
||||
description=f"*Audit log may contain updater.*\n{desc.strip()}",
|
||||
color=discord.Color.magenta()
|
||||
@ -1062,7 +1062,7 @@ class LoggingCog(commands.Cog):
|
||||
desc += f"\nMax Uses: {invite.max_uses}"
|
||||
|
||||
embed = self._create_log_embed(
|
||||
title="✉️ Invite Created",
|
||||
# title="✉️ Invite Created", # Removed duplicate title
|
||||
title="✉️ Invite Created (Event)",
|
||||
description=f"{desc}\n*Audit log may contain creator.*",
|
||||
color=discord.Color.dark_magenta(),
|
||||
@ -1084,7 +1084,7 @@ class LoggingCog(commands.Cog):
|
||||
desc = f"Invite `{invite.code}` for {channel.mention if channel else 'Unknown Channel'} was deleted or expired."
|
||||
|
||||
embed = self._create_log_embed(
|
||||
title="🗑️ Invite Deleted",
|
||||
# title="🗑️ Invite Deleted", # Removed duplicate title
|
||||
title="🗑️ Invite Deleted (Event)",
|
||||
description=f"{desc}\n*Audit log may contain deleter.*",
|
||||
color=discord.Color.dark_grey()
|
||||
|
@ -240,8 +240,8 @@ class FakeModerationCog(commands.Cog):
|
||||
response = await self._fake_moderation_response("mute", member.mention, reason, duration)
|
||||
await ctx.reply(response)
|
||||
|
||||
@commands.command(name="timeout")
|
||||
async def timeout(self, ctx: commands.Context, member: discord.Member = None, duration: str = None, *, reason: str = None):
|
||||
@commands.command(name="faketimeout", aliases=["fto"]) # Renamed command and added alias
|
||||
async def fake_timeout(self, ctx: commands.Context, member: discord.Member = None, duration: str = None, *, reason: str = None): # Renamed function
|
||||
"""Pretends to timeout a member in the server. Can be used by replying to a message."""
|
||||
# Check if this is a reply to a message and no member was specified
|
||||
if not member and ctx.message.reference:
|
||||
|
Loading…
x
Reference in New Issue
Block a user