Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't set activity image, am I doing something wrong? #274

Open
3 tasks done
JustRedTTG opened this issue Apr 7, 2022 · 14 comments
Open
3 tasks done

Can't set activity image, am I doing something wrong? #274

JustRedTTG opened this issue Apr 7, 2022 · 14 comments
Labels
enhancement New feature or request

Comments

@JustRedTTG
Copy link

JustRedTTG commented Apr 7, 2022

Summary

Custom presence image doesn't set!

Reproduction Steps

image

Code

actv_type = discord.ActivityType.playing
actv = discord.Activity(
        name=data.desc1,
        type=actv_type,
        state='STATE',
        details='DETAILS',
        large_image_url='https://lh3.googleusercontent.com/paxuBm_PrVPCKDscbmNyLiyOlBVwFMsbUcwldMUIHKsUQC2o9aWHhx8iwGiR3pNhoyMzH4SdwmXOlyB2sg=w544-h544-l90-rj'
)
await Client.change_presence(activity=actv)

Expected Results

The image should show up on my profile

Actual Results

I just get the text and no Image on the side
image

System Information

Python v3.10.1-final - discord.py v1.7.3-final - aiohttp v3.7.4.post0 - system info: Windows 10 10.0.22000

Checklist

  • I have searched the open issues for duplicates.
  • I have shared the entire traceback.
  • I am using a user token (and it isn't visible in the code).

Additional Information

using discord-self latest but in a environment, since I make bots sometimes
tried with discord first
tried on my account, not a bot

@JustRedTTG JustRedTTG added the unconfirmed bug Unconfirmed bug label Apr 7, 2022
@dolfies dolfies added enhancement New feature or request and removed unconfirmed bug Unconfirmed bug labels Apr 8, 2022
@dolfies
Copy link
Owner

dolfies commented Apr 8, 2022

Haven't implemented the extra keys yet. Should be coming soon!

@theAbdoSabbagh
Copy link

Am I doing something wrong here? It doesn't show DETAILS or STATE anywhere like yours
image

code:

actv_type = discord.ActivityType.playing
actv = discord.Activity(
        name='Darkend',
        type=actv_type,
        state='STATE',
        details='DETAILS.',
)
bot = commands.Bot(command_prefix="!!!", self_bot = True, activity=actv)

@fw-real
Copy link

fw-real commented May 16, 2022

Am I doing something wrong here? It doesn't show DETAILS or STATE anywhere like yours
image

fancy seeing u here lol

@theAbdoSabbagh
Copy link

fancy seeing u here lol

lol

@Blank-c
Copy link

Blank-c commented Jun 1, 2022

Summary

Custom presence image doesn't set!

Reproduction Steps

image

Code

actv_type = discord.ActivityType.playing
actv = discord.Activity(
        name=data.desc1,
        type=actv_type,
        state='STATE',
        details='DETAILS',
        large_image_url='https://lh3.googleusercontent.com/paxuBm_PrVPCKDscbmNyLiyOlBVwFMsbUcwldMUIHKsUQC2o9aWHhx8iwGiR3pNhoyMzH4SdwmXOlyB2sg=w544-h544-l90-rj'
)
await Client.change_presence(activity=actv)

Expected Results

The image should show up on my profile

Actual Results

I just get the text and no Image on the side image

System Information

Python v3.10.1-final - discord.py v1.7.3-final - aiohttp v3.7.4.post0 - system info: Windows 10 10.0.22000

Checklist

  • I have searched the open issues for duplicates.
  • I have shared the entire traceback.
  • I am using a user token (and it isn't visible in the code).

Additional Information

using discord-self latest but in a environment, since I make bots sometimes tried with discord first tried on my account, not a bot

large_image_url is a property

Check discord custom presence in my github page and try to figure out

@dolfies dolfies mentioned this issue Jul 8, 2022
3 tasks
@AYMENJD
Copy link

AYMENJD commented Oct 4, 2022

@dolfies Is this fixed?

@RuriYS
Copy link

RuriYS commented Dec 10, 2022

Still not fixed?

@KDot227
Copy link

KDot227 commented Dec 22, 2022

still not fixed

@dolfies
Copy link
Owner

dolfies commented Mar 29, 2023

Sorry for the late update on this.

v2.0 has been delayed enough already because of feature creep, so I don't think I'm going to fix this before the release this weekend. With the breadth of the user API, there's always gonna be something to implement, but I'll make sure I get to this soon after release.

@KDot227
Copy link

KDot227 commented Apr 8, 2023

W

@12-welve
Copy link

fixed?

1 similar comment
@ghost
Copy link

ghost commented Dec 15, 2023

fixed?

@dolfies
Copy link
Owner

dolfies commented Dec 4, 2024

That works as a hack, just use the library's internal request handler instead of requests as it's unsafe and blocking.

@outmaneuver
Copy link

That works as a hack, just use the library's internal request handler instead of requests as it's unsafe and blocking.

noted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

10 participants