fix: remove all embed colors (dark theme #2F3136)
All checks were successful
ci / ci (push) Successful in 57s
All checks were successful
ci / ci (push) Successful in 57s
This commit is contained in:
parent
cb2321498b
commit
8dc9082700
8 changed files with 19 additions and 19 deletions
|
|
@ -219,7 +219,7 @@ class TicketModal(discord.ui.Modal, title="Nouveau Ticket"):
|
|||
embed = discord.Embed(
|
||||
title="Ticket créé",
|
||||
description=f"**Catégorie :** {cat.name}\n**Utilisateur :** {interaction.user.mention}\n**Canal :** {channel.mention}",
|
||||
color=discord.Color.green(),
|
||||
color=0x2F3136,
|
||||
timestamp=datetime.now(timezone.utc),
|
||||
)
|
||||
await _send_log(guild, config, embed)
|
||||
|
|
@ -264,7 +264,7 @@ class ClaimButton(discord.ui.Button):
|
|||
embed = discord.Embed(
|
||||
title="Ticket claim",
|
||||
description=f"Réclamé par {interaction.user.mention}",
|
||||
color=discord.Color.green(),
|
||||
color=0x2F3136,
|
||||
timestamp=datetime.now(timezone.utc),
|
||||
)
|
||||
await _send_log(interaction.guild, config, embed)
|
||||
|
|
@ -327,7 +327,7 @@ class AddMemberSelect(discord.ui.UserSelect):
|
|||
embed = discord.Embed(
|
||||
title="Membre ajouté",
|
||||
description=f"{user.mention} a été ajouté par {interaction.user.mention}",
|
||||
color=discord.Color.blue(),
|
||||
color=0x2F3136,
|
||||
timestamp=datetime.now(timezone.utc),
|
||||
)
|
||||
await _send_log(interaction.guild, storage.get_config(interaction.guild_id), embed)
|
||||
|
|
@ -386,7 +386,7 @@ class TransferSelect(discord.ui.UserSelect):
|
|||
embed = discord.Embed(
|
||||
title="Ticket transféré",
|
||||
description=f"Transféré à {user.mention} par {interaction.user.mention}",
|
||||
color=discord.Color.blue(),
|
||||
color=0x2F3136,
|
||||
timestamp=datetime.now(timezone.utc),
|
||||
)
|
||||
await _send_log(interaction.guild, storage.get_config(interaction.guild_id), embed)
|
||||
|
|
@ -450,7 +450,7 @@ class PrioritySelect(discord.ui.Select):
|
|||
embed = discord.Embed(
|
||||
title="Priorite changee",
|
||||
description=f"Priorite : **{self.values[0]}** par {interaction.user.mention}",
|
||||
color=discord.Color.blue(),
|
||||
color=0x2F3136,
|
||||
timestamp=datetime.now(timezone.utc),
|
||||
)
|
||||
await _send_log(interaction.guild, storage.get_config(interaction.guild_id), embed)
|
||||
|
|
@ -497,7 +497,7 @@ class LockButton(discord.ui.Button):
|
|||
embed = discord.Embed(
|
||||
title=f"Ticket {'verrouillé' if ticket.locked else 'déverrouillé'}",
|
||||
description=f"Par {interaction.user.mention}",
|
||||
color=discord.Color.orange() if ticket.locked else discord.Color.green(),
|
||||
color=0x2F3136,
|
||||
timestamp=datetime.now(timezone.utc),
|
||||
)
|
||||
await _send_log(interaction.guild, config, embed)
|
||||
|
|
@ -603,7 +603,7 @@ class CloseButton(discord.ui.Button):
|
|||
embed = discord.Embed(
|
||||
title="Ticket fermé",
|
||||
description=f"**Fermé par :** {interaction.user.mention}\n**Catégorie :** {ticket.category_id}",
|
||||
color=discord.Color.red(),
|
||||
color=0x2F3136,
|
||||
timestamp=datetime.now(timezone.utc),
|
||||
)
|
||||
await _send_log(interaction.guild, config, embed)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue