Skip to content

Convert Modmail to use createReactionRow from redis.js #723

Description

Current Behaviour

Modmails are currently directly forwarded from the interactionCreate handler in index.js. It should instead make use of createReactionRow to avoid having custom logic in interactionCreate and so restart-safe interactions work the same as other functions.

Tasks

Things to Do

  • Remove custom logic forwarding modmail interactions from index.js
  • Use createReactionRow whenever buttons change to update redis so buttons can be forwarded
  • Update module.exports.interactionHandler in modmail.js to work with the data sent by handleReactionRow

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Lost HallsThis relates to the Discord Guild named "Lost Halls"Quality of LifeAn improvement of something that existsShatters/MoonlightThis relates to the Discord Guild named "Shatters/Moonlight"

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions