[Admin] Selfrole list formatting (#2193)

Selfrole list needed a return in between the header and the list.
This commit is contained in:
aikaterna 2018-10-06 14:46:32 -07:00 committed by Toby Harradine
parent 7b260cdafc
commit 9730a424ec

View File

@ -359,7 +359,7 @@ class Admin(commands.Cog):
selfroles = await self._valid_selfroles(ctx.guild)
fmt_selfroles = "\n".join(["+ " + r.name for r in selfroles])
msg = _("Available Selfroles: {selfroles}").format(selfroles=fmt_selfroles)
msg = _("Available Selfroles:\n{selfroles}").format(selfroles=fmt_selfroles)
await ctx.send(box(msg, "diff"))
async def _serverlock_check(self, guild: discord.Guild) -> bool: