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

applied_tags does not update when tags are changed on forum posts #1870

Closed
3 tasks done
JonSatriani opened this issue Jan 12, 2023 · 1 comment · Fixed by #2146
Closed
3 tasks done

applied_tags does not update when tags are changed on forum posts #1870

JonSatriani opened this issue Jan 12, 2023 · 1 comment · Fixed by #2146
Assignees
Labels
bug Something isn't working good first issue Good for newcomers priority: medium Medium Priority
Milestone

Comments

@JonSatriani
Copy link

Summary

applied_tags does not update when tags are changed on forum posts

Reproduction Steps

Start bot
fetch before.applied_tags
change tags on forum post
fetch after.applied_tags
before.applied_tags == after.applied_tags

Minimal Reproducible Code

@Cog.listener()
    async def on_thread_update(self, before, after):
        print(before.applied_tags == after.applied_tags)

Expected Results

applied_tags to return the updated list of tags

Actual Results

applied_tags returns the initial list of tags (collected at bot first run?)

Intents

discord.Intents.default(), intents.members = True

System Information

  • Python v3.10.2-final
  • py-cord v2.3.2-final
  • aiohttp v3.8.3
  • system info: Windows 10 10.0.19044

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

No response

@JonSatriani JonSatriani added the unconfirmed bug A bug report that needs triaging label Jan 12, 2023
@JustaSqu1d JustaSqu1d added bug Something isn't working and removed unconfirmed bug A bug report that needs triaging labels Jan 13, 2023
@Lulalaby Lulalaby added the priority: medium Medium Priority label Feb 9, 2023
@Lulalaby Lulalaby added this to the v2.5 milestone Feb 10, 2023
@JustaSqu1d JustaSqu1d added the good first issue Good for newcomers label May 7, 2023
@Pixel2075
Copy link

It is a bug probably. In the meantime you could use the on_raw_thread_update event. You can use a database or just a simple json simple to store the initial values of the tags in a list then compare it with the value from the payload.

@Cog.listener()
async def on_raw_thread_update(payload):
    print(payload.data['applied_tags'])

@JustaSqu1d JustaSqu1d removed their assignment Jun 13, 2023
@Dorukyum Dorukyum self-assigned this Jun 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers priority: medium Medium Priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants