Fixed line count

Added perms command for only User/Role for now.
pull/8/head
sgoudham 4 years ago
parent c132ca298a
commit da40e5969f

@ -232,7 +232,7 @@ class Info(Cog):
@command(name="permissions", aliases=["perms"], usage="`[Member|Role]`") @command(name="permissions", aliases=["perms"], usage="`[Member|Role]`")
@cooldown(1, 1, BucketType.user) @cooldown(1, 1, BucketType.user)
@guild_only() @guild_only()
@bot_has_permissions(embed_links=True) @bot_has_permissions(embed_links=True, add_reactions=True)
async def perms(self, ctx, *, item: Optional[Union[Member, Role]]): async def perms(self, ctx, *, item: Optional[Union[Member, Role]]):
item = item if item else ctx.author item = item if item else ctx.author

Loading…
Cancel
Save