Added missing dot

This commit is contained in:
Daniel Skýpala 2023-05-17 20:56:30 +02:00
parent 85a4fa85ae
commit 30057b2779

View file

@ -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: