From 62f7f7d9303bf9a13345c771089a41c3674e6f03 Mon Sep 17 00:00:00 2001 From: momothereal Date: Wed, 25 Jul 2018 14:32:36 -0400 Subject: Remove useless comment --- bot/cogs/moderation.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/bot/cogs/moderation.py b/bot/cogs/moderation.py index 72c1bd67d..a724467ad 100644 --- a/bot/cogs/moderation.py +++ b/bot/cogs/moderation.py @@ -70,7 +70,6 @@ class Moderation: response_object = await response.json() if "error_code" in response_object: - # something went wrong await ctx.send(f":x: There was an error adding the infraction: {response_object['error_message']}") return @@ -107,7 +106,6 @@ class Moderation: response_object = await response.json() if "error_code" in response_object: - # something went wrong await ctx.send(f":x: There was an error adding the infraction: {response_object['error_message']}") return @@ -146,7 +144,6 @@ class Moderation: response_object = await response.json() if "error_code" in response_object: - # something went wrong await ctx.send(f":x: There was an error adding the infraction: {response_object['error_message']}") return @@ -186,7 +183,6 @@ class Moderation: response_object = await response.json() if "error_code" in response_object: - # something went wrong await ctx.send(f":x: There was an error adding the infraction: {response_object['error_message']}") return @@ -231,7 +227,6 @@ class Moderation: response_object = await response.json() if "error_code" in response_object: - # something went wrong await ctx.send(f":x: There was an error adding the infraction: {response_object['error_message']}") return @@ -278,7 +273,6 @@ class Moderation: response_object = await response.json() if "error_code" in response_object: - # something went wrong await ctx.send(f":x: There was an error adding the infraction: {response_object['error_message']}") return @@ -319,7 +313,6 @@ class Moderation: ) response_object = await response.json() if "error_code" in response_object: - # something went wrong await ctx.send(f":x: There was an error removing the infraction: {response_object['error_message']}") return @@ -357,7 +350,6 @@ class Moderation: ) response_object = await response.json() if "error_code" in response_object: - # something went wrong await ctx.send(f":x: There was an error removing the infraction: {response_object['error_message']}") return @@ -403,7 +395,6 @@ class Moderation: ) response_object = await response.json() if "error_code" in response_object or response_object.get("success") is False: - # something went wrong await ctx.send(f":x: There was an error updating the infraction: {response_object['error_message']}") return @@ -442,7 +433,6 @@ class Moderation: ) response_object = await response.json() if "error_code" in response_object or response_object.get("success") is False: - # something went wrong await ctx.send(f":x: There was an error updating the infraction: {response_object['error_message']}") return -- cgit v1.2.3