enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. The Discord API documentation allows apps with the appropriate permissions to query user information (Get User API) which returns a User object containing an avatar field. The avatar field is a hash that can be used with the User Avatar CDN endpoint to retrieve the user's avatar. It's worth noting that none of this can be done with Javascript ...

  3. Welcome to Stack Overflow. Per the attempt to answer, it seems that this is simply a typo - you have specified t! as your command prefix, but !avatar (rather than t!avatar) as your attempt to run the command. As an aside, please note that when using triple backticks to format your code, they must be on a line by themselves at the bottom (on the ...

  4. discord.js embed profile picture command with mentions

    stackoverflow.com/questions/64617114

    2. There are two parts here. First, the bot is only sending the message and not the embed because you only ever send the message. You need a separate line of code to send the embeds. message.channel.send(avatarEmbed); Secondly, the bot only ever tags you because of this message.content.startsWith(prefix + 'pfp').

  5. How do I add user's avatar in embed title? discord.py

    stackoverflow.com/questions/67852015

    In this case, the picture is in the embed.thumbnail and in embed.author.image, so you have to set these two:. @client.command() async def test(ctx): test = discord.Embed(title=f"Your embed title in the picture you attached it's Eggspert Player but doesn't have to be") test.set_author(name=ctx.author.name, icon_url=ctx.author.avatar_url) test.set_thumbnail(url=ctx.author.avatar_url) await ctx ...

  6. I am already aware this is against Discord's TOS but still think it'd be a cool idea; I'm thinking about creating a script to periodically change my profile picture in Discord every day automatically but I can't seem to find anything related to how the request is sent.

  7. So for my react project I will like to get my discord bot's pfp and show it on my site. So what would be the appropriate URL for it? like what would even be the method since as far as I know you will need to have the scope perms for that. So what should I do to make this work? Looked up discord docs but it was too vague for me. Stack Overflow ...

  8. Discord.js detect user profile picture updates

    stackoverflow.com/questions/73926388/discord-js-detect-user-profile-picture...

    I'm trying to detect if a user has updated their profile picture. But it seems I'm completely stuck right now

  9. How can I change the PFP of my bot Discord - Stack Overflow

    stackoverflow.com/questions/78016291/how-can-i-change-the-pfp-of-my-bot-discord

    Go to the Discord Developer Portal, select your application, then go to the Bot tab. Click on your Bot's profile picture to change it to the desired gif, then save your changes. answered May 29 at 18:18. Franco227.

  10. You can't do discord.ClientUser.edit. For changing the avatar, you need a bytes like object. So, this ...

  11. How to get a user's avatar with their id in discord.py?

    stackoverflow.com/questions/59799987

    I tried using the following code but it didn't work. @bot.command() async def avatar(ctx,*, avamember): user = bot.get_user(avamember) await ctx.send(f"{user.avatar_url}") Edit: For anyone that had a similar problem, while not mentioned in the docs, discord.Member can take user ids aside from @username so there isn't any need for a complicated ...