add guildinfo alias to server info command + roles
@@ -398,7 +398,7 @@ class Useful(commands.Cog):
await ctx.reply(embed=embed, mention_author=False)
- @commands.command(name="serverinfo", aliases=["server", "guild"])
+ @commands.command(name="serverinfo", aliases=["server", "guild", "guildinfo"])
@commands.guild_only()
async def server_info(self, ctx, *, guild: discord.Guild = None):
await ctx.trigger_typing()
@@ -463,6 +463,7 @@ class Useful(commands.Cog):
embed.add_field(name="General :gear:", value=general, inline=True)
embed.add_field(name="Villager Bot " + self.d.emojis.emerald, value=villager, inline=True)
+ embed.add_field(name="Roles", value=' '.join([r.mention for r in guild.roles if r.id != guild.id][::-1]))
embed.set_thumbnail(url=guild.icon_url)
embed.set_footer(text=ctx.l.useful.credits.foot.format(ctx.prefix))
