diff --git a/tools/info.json b/tools/info.json index ac95ddc..0532817 100644 --- a/tools/info.json +++ b/tools/info.json @@ -10,6 +10,9 @@ "ban_members", "manage_channels" ], + "requirements": [ + "tabulate" + ], "short": "Mod and admin tools.", "tags": [ "tools" diff --git a/tools/tools.py b/tools/tools.py index 7095bf7..7f752fc 100644 --- a/tools/tools.py +++ b/tools/tools.py @@ -419,7 +419,7 @@ class Tools: await ctx.send(cf.box("{0}{1}".format(perms_we_have, perms_we_dont), lang="diff")) @commands.command() - async def rid(self, ctx, rolename): + async def rid(self, ctx, *, rolename): """Shows the id of a role.""" await ctx.trigger_typing() if rolename is discord.Role: @@ -436,7 +436,7 @@ class Tools: await ctx.send(f"**{rolename} ID:** {role.id}") @commands.command() - async def rinfo(self, ctx, rolename): + async def rinfo(self, ctx, *, rolename): """Shows role info.""" channel = ctx.channel guild = ctx.guild