Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Selyss committed Dec 19, 2023
1 parent 672ea15 commit 4efb7b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cogs/inquiry.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ async def callback(self, inter: nextcord.Interaction) -> None:
ac.set_author(icon_url=inter.user.avatar, name=inter.user.name)
ac.description = self.message
ac.set_footer(text=format_footer(inter.user.id))
await inter.message.edit(embed=ac)
await inter.message.edit(embed=ac, view=None)
new_channel = await category.create_text_channel(
name=f"ticket-{name}",
reason=f"Created ticket for {id} - {name}",
Expand Down Expand Up @@ -149,10 +149,10 @@ async def accept(self, btn: nextcord.ui.Button, inter: nextcord.Interaction):
ac = nextcord.Embed()
ac.title = "Accepted"
ac.color = SUCCESS
ac.set_author(icon_url=inter.user.avatar, name=inter.user.name)
ac.set_author(icon_url=person.avatar, name=person.name)
ac.description = content
ac.set_footer(text=format_footer(inter.user.id))
await inter.message.edit(embed=ac)
await inter.message.edit(embed=ac, view=None)
em = nextcord.Embed()
if inter.channel.id == AD_CHANNEL:
# IS AD
Expand Down

0 comments on commit 4efb7b5

Please sign in to comment.