Skip to content

Commit

Permalink
Update TwitchAlert.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JayDwee committed Oct 13, 2020
1 parent 2faa32c commit b484a55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/TwitchAlert.py
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ async def delete_message(self, message_id, channel_id):
except discord.errors.NotFound as err:
logging.warning(f"TwitchAlert: Message ID {message_id} does not exist, skipping \nError: {err}")
except discord.errors.Forbidden as err:
logging.warning(f"TwitchAlert: {err} Name: {channel} ID: {channel.id}")
logging.warning(f"TwitchAlert: {err} Channel ID: {channel_id}")
sql_remove_invalid_channel = "DELETE FROM TwitchAlerts WHERE channel_id = ?"
self.ta_database_manager.database_manager.db_execute_commit(sql_remove_invalid_channel, args=[channel.id])

Expand Down

0 comments on commit b484a55

Please sign in to comment.