ソースを参照

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),

読み込み中…
キャンセル
保存