How would I implement the command such that when one types. I also tried ctx.send(usernamepfp.avatar_url). It ignores any extra parameters and thus can not display the profile picture of anyone else except the sender.Ĭhanging getpfp(ctx): to getpfp(ctx, usernamepfp): and ctx.send(_url) to ctx.send(_url) didn't work. Im trying to create a command for profile pictures so when you type -pfp it would show you your profile picture and when you type -pfp user it would show the persons you mentioned profile picture. The code above is a command to send the profile picture of the user who sends the command into the chat. 1 Im making a bot in discord.js using the Visual Studio Code app. Is there any way to do that 2 6 Related Topics Discord Voice chat Instant Messaging Client Social media Mobile app Software Information & communications technology Technology 6 comments Best Add a Comment pranksterchicken 6 mo. I can't get it to take in a second parameter without encountering errors or the bot ignoring it. How to download every pfp My friend who owns a server wants to get every member's pfp for a video. The problem is I can only get it to give the profile picture of the person who sends the command. Now i'm trying to implement a command that displays the profile picture of anyone you mention on the server. New comments cannot be posted and votes cannot be cast. I've been working on a discord bot using discord.py for the past few days. i wanna get my pfp and was wondering if dank memer can do it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |