Hey Mathew, if you accidentally deleted text you can click "Command Z" to undo the delete. But if you had exited the prompt box and went back to find it it would not work unfortunatley. We're you able to find it/rewrite it?
Troubleshooting: Recovering Lost Content in Slack | Clay