Skip to content

Commit

Permalink
error
Browse files Browse the repository at this point in the history
  • Loading branch information
howardt12345 committed Nov 4, 2023
1 parent 7cf3e99 commit 503a349
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions commands/confessions/confession.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ async def confess(interaction: discord.Interaction, confession: str):
)
async def report_confession(interaction: discord.Interaction, confession_id: str, reason: str):
confession_channel, report_channel = await get_confession_channels(interaction, client, report=True)
if not report_channel:
return
event_log_data = await logging.fetch_event_log(interaction.guild_id, confession_id, 'Confession')

if not event_log_data:
Expand Down

0 comments on commit 503a349

Please sign in to comment.