How to delete a part of an archived forum .odt file

Nope, Discourse doesn’t have such feature.

They either made a plugin to do that or someone manually copy-pasted your post into an .odt file and uploaded it there.

If they delete all the posts that link to that file, the fille will automatically be removed.