I made a simple iOS Shortcut to clean up the prompt when using Copy Text on Discord mobile.
So this:
**<https://s.mj.run/No0Mzh> fractal angel —iw 2** - Upscaled by <@477506335605522443>
will be cleaned up to this:
https://s.mj.run/No0Mzh fractal angel —iw 2
Download it here: https://www.icloud.com/shortcuts/ec0d1262f18e48cf9b5d79ac58925bce
If you want to also remove all image prompts, here is an alternate version that does that: https://www.icloud.com/shortcuts/bcc6747dfc2a4a498e9c1694f4fdb7d8
When you run the shortcut the first time, it will ask for permission to access your Clipboard, you have to Allow Access for it to work.
Typical usage: Click Copy Text in Discord mobile, run the shortcut, then paste the cleaned-up prompt to a new /imagine
command.
If you have trouble installing the shortcut, here is a possible fix:
How to allow untrusted Shortcuts in iOS 13 https://www.macworld.com/article/233447/how-to-allow-untrusted-shortcuts-in-ios-13.html