Browse Source

fixed lack of raising error in the self assign commands even tho the converts return nothing.

tags/v1.5.0
Roxie Gibson 6 years ago
parent
commit
77b55dfc70
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      Roxbot/cogs/selfassign.py

+ 0
- 6
Roxbot/cogs/selfassign.py View File

@@ -41,9 +41,6 @@ class SelfAssign():
Example:
.iam OverwatchPing
"""
if role is None:
raise commands.BadArgument

settings = gs.get(ctx.guild)
if not settings.self_assign["enabled"]:
embed = discord.Embed(colour=discord.Colour(self.embed_colour),
@@ -70,9 +67,6 @@ class SelfAssign():
Example:
.iamn OverwatchPing
"""
if role is None:
raise commands.BadArgument
settings = gs.get(ctx.guild)
if not settings.self_assign["enabled"]:
embed = discord.Embed(colour=discord.Colour(self.embed_colour),

Loading…
Cancel
Save