Skip to content

Commit

Permalink
Update sleep status emoji in ticketing utils
Browse files Browse the repository at this point in the history
Changed the emoji for the 'sleep' status from 🌙 to 💤 in the status_emoji dictionary in both the ticket number generation and send_ticket functions. This ensures consistency and better represents the sleep status.
  • Loading branch information
MagicTheDev committed Sep 16, 2024
1 parent 2dc3100 commit 4aa7054
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commands/ticketing/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ async def naming_convention_convertor(
if not all_ticket_nums:
all_ticket_nums = [0]
number = max(all_ticket_nums) + 1
status_emoji = {'open': '✅', 'sleep': '🌙', 'closed': '❌'}
status_emoji = {'open': '✅', 'sleep': '💤', 'closed': '❌'}
types = {
'{ticket_count}': number,
'{user}': user.name,
Expand All @@ -169,7 +169,7 @@ async def message_convertor(
message: str,
custom_field: dict = None,
):
status_emoji = {'open': '✅', 'sleep': '🌙', 'closed': '❌'}
status_emoji = {'open': '✅', 'sleep': '💤', 'closed': '❌'}
user = await bot.getch_user(ticket.user)

coc_account = None
Expand Down

0 comments on commit 4aa7054

Please sign in to comment.