Adding bot permissions to the userinfo command

pull/8/head
sgoudham 4 years ago
parent abbb9178b8
commit f867315c4a

@ -86,6 +86,7 @@ class Info(commands.Cog):
@command(name="userinfo", aliases=["ui"]) @command(name="userinfo", aliases=["ui"])
@cooldown(1, 5, BucketType.user) @cooldown(1, 5, BucketType.user)
@guild_only() @guild_only()
@bot_has_permissions(embed_links=True)
async def user_info(self, ctx, member: Optional[Member] = None): async def user_info(self, ctx, member: Optional[Member] = None):
"""User Information! (Created At/Joined/Roles etc)""" """User Information! (Created At/Joined/Roles etc)"""

Loading…
Cancel
Save