|
|
|
|
|
|
|
|
""" |
|
|
""" |
|
|
if role is None: |
|
|
if role is None: |
|
|
raise commands.BadArgument |
|
|
raise commands.BadArgument |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
settings = gs.get(ctx.guild) |
|
|
settings = gs.get(ctx.guild) |
|
|
if not settings.self_assign["enabled"]: |
|
|
if not settings.self_assign["enabled"]: |
|
|
embed = discord.Embed(colour=discord.Colour(self.embed_colour), |
|
|
embed = discord.Embed(colour=discord.Colour(self.embed_colour), |
|
|
|
|
|
|
|
|
""" |
|
|
""" |
|
|
if role is None: |
|
|
if role is None: |
|
|
raise commands.BadArgument |
|
|
raise commands.BadArgument |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
settings = gs.get(ctx.guild) |
|
|
settings = gs.get(ctx.guild) |
|
|
if not settings.self_assign["enabled"]: |
|
|
if not settings.self_assign["enabled"]: |
|
|
embed = discord.Embed(colour=discord.Colour(self.embed_colour), |
|
|
embed = discord.Embed(colour=discord.Colour(self.embed_colour), |