diff options
| author | 2018-07-25 14:32:36 -0400 | |
|---|---|---|
| committer | 2018-07-25 14:32:36 -0400 | |
| commit | 62f7f7d9303bf9a13345c771089a41c3674e6f03 (patch) | |
| tree | fb8a51a794fd98206427dcd2b8307386a3e9499f | |
| parent | Add code folding regions (diff) | |
Remove useless comment
| -rw-r--r-- | bot/cogs/moderation.py | 10 |
1 files changed, 0 insertions, 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 |