Added missing dot
This commit is contained in:
parent
85a4fa85ae
commit
30057b2779
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ class Roles(commands.Cog):
|
||||||
data.dump_guild_data(ctx.author.guild.id, ROLES_JSON, roles)
|
data.dump_guild_data(ctx.author.guild.id, ROLES_JSON, roles)
|
||||||
return await ctx.respond(f"Secret role {role.mention} added with password {password}.", ephemeral=True)
|
return await ctx.respond(f"Secret role {role.mention} added with password {password}.", ephemeral=True)
|
||||||
|
|
||||||
@secret_roles.command(description="Lists all passwords and their secret roles")
|
@secret_roles.command(description="Lists all passwords and their secret roles.")
|
||||||
async def list(self, ctx):
|
async def list(self, ctx):
|
||||||
roles = data.load_guild_data(ctx.author.guild.id, ROLES_JSON)
|
roles = data.load_guild_data(ctx.author.guild.id, ROLES_JSON)
|
||||||
if len(roles["secret_roles"]) == 0:
|
if len(roles["secret_roles"]) == 0:
|
||||||
|
|
Loading…
Reference in a new issue