Skip to content

Commit

Permalink
Merge pull request #53 from discordextremelist/TheMoksej-2.0.3
Browse files Browse the repository at this point in the history
add timestamp to open ticket
  • Loading branch information
carolinaisslaying authored Dec 20, 2020
2 parents 2ae0dfd + 50794d4 commit 7656a07
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cogs/tickets.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import discord
from discord.ext import commands
from ext.checks import mod_check
from datetime import datetime

import traceback
import snowflake
Expand Down Expand Up @@ -109,7 +110,8 @@ async def open_ticket(self, ctx, bot: typing.Union[discord.User, str]):

embed = discord.Embed(colour=self.awaiting_response,
description="Hello, whilst reviewing your bot we found some issues, please refer to "
"the message(s) the staff member has sent below.")
"the message(s) the staff member has sent below.",
timestamp=datetime.utcnow())

embed.set_author(name=f"Approval Feedback - {ticket_id} [AWAITING RESPONSE]",
icon_url=self.bot.settings["images"]["awaiting_response"])
Expand Down

0 comments on commit 7656a07

Please sign in to comment.