Skip to content

Commit 17c4909

Browse files
committed
Fix feature display if no features are present
1 parent 0148a2a commit 17c4909

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/commands/utility/server_command.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ async def server(self, ctx: ApplicationContext):
2626
:param ctx:
2727
:return:
2828
"""
29-
features = '\n- `' + '`\n- `'.join(ctx.guild.features) if ctx.guild.features else 'None'
29+
features = '\n- `' + '`\n- `'.join(ctx.guild.features) + '`' if ctx.guild.features else 'None'
3030
embed = Embed()
3131
embed.title = ctx.guild.name
3232
embed.thumbnail = ctx.guild.icon
@@ -39,7 +39,7 @@ async def server(self, ctx: ApplicationContext):
3939
**Security measure(s)**: {VerificationLevels[str(ctx.guild.verification_level).upper()].value}
4040
**Premium tier**: {ctx.guild.premium_tier} with {len(ctx.guild.premium_subscribers)} subscribers
4141
42-
**Features**: {features + '`'}
42+
**Features**: {features}
4343
"""
4444

4545
await ctx.respond(embed=embed)

0 commit comments

Comments
 (0)