Skip to content

Commit

Permalink
Fix missleading error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Bluenix2 committed Nov 15, 2020
1 parent d1370ec commit 2c14a2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cogs/tickets.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ async def on_open_command(self, ctx, issue, *, user=None):

open_channel = await self.get_open_by_author(author.id)
if open_channel:
return await ctx.send('{0} you already have an open {1}: <#{2}>'.format(
ctx.author.mention, self.ticket_type.name, open_channel
return await ctx.send('{0} already has an open {1}: <#{2}>'.format(
author.mention, self.ticket_type.name, open_channel
), delete_after=10
)

Expand Down

0 comments on commit 2c14a2c

Please sign in to comment.