Skip to content

Commit

Permalink
Remove cmd message for reply
Browse files Browse the repository at this point in the history
  • Loading branch information
No767 committed Jan 3, 2024
1 parent df10313 commit f2bc872
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bot/cogs/tickets.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

if TYPE_CHECKING:
from libs.utils import GuildContext, RoboContext

from rodhaj import Rodhaj


Expand Down Expand Up @@ -373,9 +374,10 @@ async def reply(
# We might want to have these as a chain of embeds but eh
embed = ReplyEmbed(author=ctx.author)
embed.description = safe_content(message)
await self.tick_post(ctx)

if isinstance(ctx.channel, discord.Thread):
# May hit the ratelimit hard. Note this
await ctx.message.delete()
await tw.send(
content=message,
username=f"[REPLY] {ctx.author.display_name}",
Expand Down

0 comments on commit f2bc872

Please sign in to comment.