How to make a delay in editing messages πŸ˜€

So i have nade a command that sends a message and edits it. However the editing part Super Fast and i would want to know how to set a Delay on it for example i want a command that just says β€œhi” then edits it to β€œHello” in 2 seconds :neutral_face:

Try something like setInterval():

Or find a package like this on NPM: