소스 검색

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

tags/v1.5.0
Roxie Gibson 6 년 전
부모
커밋
6ca55000c7
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      Roxbot/cogs/selfassign.py

+ 2
- 2
Roxbot/cogs/selfassign.py 파일 보기

@@ -43,7 +43,7 @@ class SelfAssign():
"""
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),
@@ -72,7 +72,7 @@ class SelfAssign():
"""
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…
취소
저장