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

large_image doesn't work #319

Closed
3 tasks done
RuriYS opened this issue Jul 5, 2022 · 1 comment
Closed
3 tasks done

large_image doesn't work #319

RuriYS opened this issue Jul 5, 2022 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@RuriYS
Copy link

RuriYS commented Jul 5, 2022

Summary

Activity asset large image doesn't work as intended

Reproduction Steps

activity = discord.Activity(type=discord.ActivityType.playing, application_id=clientid, name=name, state=state, assets={'large_image': imagekey, 'large_text': 'image'}, timestamps={'start':epoch})

Code

clientid = 0000000000000000 # (just an example)
name = "Activity Name"
details = "Details"
state = "State"
imagekey = "examplekey"
epoch = time.time()

activity = discord.Activity(type=discord.ActivityType.playing, application_id=clientid, name=name, details=details, state=state, assets={'large_image': imagekey, 'large_text': 'thisisimage'}, timestamps={'start':epoch})

async def presence():
    await client.change_presence(status=discord.Status.idle, activity=activity)

Expected Results

The image was supposed to show on my presence

Actual Results

Screenshot_2022-07-05-09-37-36-07

System Information

(I'm using Termux)

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

Duplicate. But fixed code

@RuriYS RuriYS added the unconfirmed bug Unconfirmed bug label Jul 5, 2022
@dolfies dolfies added duplicate This issue or pull request already exists and removed unconfirmed bug Unconfirmed bug labels Jul 8, 2022
@dolfies
Copy link
Owner

dolfies commented Jul 8, 2022

Duplicate of #274.

@dolfies dolfies closed this as not planned Won't fix, can't repro, duplicate, stale Jul 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants