diff --git a/chatchart/chatchart.py b/chatchart/chatchart.py index 04450c5..32b6a4b 100644 --- a/chatchart/chatchart.py +++ b/chatchart/chatchart.py @@ -279,6 +279,11 @@ class Chatchart(commands.Cog): await loading_message.delete() except discord.NotFound: continue + except discord.NotFound: + try: + await loading_message.delete() + except discord.NotFound: + continue msg_data = self.calculate_member_perc(global_history) # If no members are found.