Browse Source

Added missing dot

news
Daniel Skýpala 1 year ago
parent
commit
30057b2779
  1. 2
      hrochobot/cogs/roles.py

2
hrochobot/cogs/roles.py

@ -28,7 +28,7 @@ class Roles(commands.Cog):
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)
@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):
roles = data.load_guild_data(ctx.author.guild.id, ROLES_JSON)
if len(roles["secret_roles"]) == 0:

Loading…
Cancel
Save