From 3a8657f21a6d2ac4b99bbcaa1b7006c802a41515 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Thu, 18 Jun 2020 04:31:57 +0100 Subject: [PATCH] Trying to get errorFunction to work --- cogs/WaifuImages.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cogs/WaifuImages.py b/cogs/WaifuImages.py index dd8e33fb..7f9eda2e 100644 --- a/cogs/WaifuImages.py +++ b/cogs/WaifuImages.py @@ -41,7 +41,7 @@ class Waifus(commands.Cog): else: - await errorFunction(ctx) + await errorFunction() except FileNotFoundError as e: print(e) @@ -69,7 +69,7 @@ class Waifus(commands.Cog): else: - await errorFunction(ctx) + await errorFunction() except FileNotFoundError as e: print(e) @@ -96,7 +96,7 @@ class Waifus(commands.Cog): else: - await errorFunction(ctx) + await errorFunction() except FileNotFoundError as e: print(e)