Skip to content

[Bug] Emoji events don't work properlyΒ #374

@Bloxs

Description

@Bloxs

What's the bug?

The emoji add, update, and remove events do not function properly (either don't get called or return undefined)

How do we reproduce it?

  1. Use This Code
  2. Make a .env file and set token= to your bots token
  3. Run the bot
  4. Make an emoji (Notice how it says undefined)
  5. Edit the emoji (Notice how it says undefined and fires added)
  6. Delete the emoji (Notice no event)

What should have happened?
The events should contain the emoji object and call the right events

What is actually happening?
Only the add event is sometimes fired and it's always undefined

What versions you're using?

  • OS: Arch Linux 6.6.3-arch1-1
  • Deno: Deno 1.38.4
  • Harmony: Harmony commit e3e3c73 (Latest as of writing this issue)

Do you have anything to tell us more about the bug?
If you use the .test command you can see that it doesn't even update the cache properly and re-fetches every time

Edit: This is most likely going to require more than just fixing up the gateway event as the cache system seems totally broken Discord messages

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions