Skip to content

Commit

Permalink
Update ticket.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mayman007 authored Oct 12, 2022
1 parent 624803b commit 91ef650
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cogs/ticket.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async def ticket(self, interaction: discord.Interaction, button: discord.ui.Butt
user = json.load(f)
tickrole = user[str(interaction.user.guild.id)]
except:
pass
tickrole = 123
interaction.message.author = interaction.user
retry = self.cooldown.get_bucket(interaction.message).update_rate_limit()
if retry:
Expand Down Expand Up @@ -103,7 +103,7 @@ async def on_ready(self):
async def ticketing(self, ctx):
embed = discord.Embed(title = "Ticket!", description="If you need support, click the button below and create a ticket!", color = discord.Colour.blue())
# embed.set_thumbnail(url = ctx.guild.icon.url)
await ctx.channel.send(embed = embed, view = ticket_launcher())
await ctx.send(embed = embed, view = ticket_launcher())


#close ticket
Expand Down

0 comments on commit 91ef650

Please sign in to comment.