question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing Message.stickers

See original GitHub issue

Summary

discord.Message.stickers is always empty

Reproduction Steps

Fetch any message with sticker and view discord.Message object in debugger.

Test message

Minimal Reproducible Code

No response

Expected Results

len(message.stickers) > 0

Actual Results

len(message.stickers) == 0

Intents

Intents.All() except integrations, typing, webhooks, presences

System Information

  • Python v3.6.8-final
  • discord.py v1.7.2-final
  • aiohttp v3.7.4.post0
  • system info: Windows 10 10.0.19041

Checklist

  • I have searched the open issues for duplicates.
  • I have shown the entire traceback, if possible.
  • I have removed my token from display, if visible.

Additional Context

This error is caused by incorrect parsing of the raw message objects structure:

discord.py refers to the ‘stickers’ key, but message stickers are currently located by the sticker_items key: raw data from discordpy

Note that the sticker object for the message has been changed to Message Sticker Item which contains fewer fields than the discord.Sticker constructor has.

P.S.: As far as I can see in the source code, this problem is still relevant at the time of the last commit (‘2.0.0a’ version).

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
JelNiSlawcommented, Jul 7, 2021

We need to know how to access this object Rapptz was talking about

You have to wait for #7126 to get finished and merged

0reactions
JelNiSlawcommented, Jul 31, 2021

#7126 was merged, and this issue can now be closed

Read more comments on GitHub >

github_iconTop Results From Across the Web

iMessage stickers missing - Apple Support Communities
I was chatting with my friend and suddenly sticker buttons were missing, I couldn't remember exactly when it happened and restarting message ......
Read more >
Missing Someone Stickers for Sale - Redbubble
Unique Missing Someone stickers featuring millions of original designs created and sold by independent artists. Decorate your laptops, water bottles, ...
Read more >
How To Restore Missing Stickers & iTunes Purchases ...
How To Recover Missing Stickers In iOS 14 ... 1. Open Messages on your iOS or iPadOS device. 2. Browse for an existing...
Read more >
Missing GIFs - Stickers - Tenor
With Tenor, maker of GIF Keyboard, add popular Missing animated GIFs to your conversations. ... Love You Loading Sticker - Love You Loading...
Read more >
2 Pack - I Miss You Text Message Decals / Stickers 6x2
Amazon.com - 2 Pack - I Miss You Text Message Decals / Stickers 6x2" -
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found