Check the Edit and delete their own replies checkbox [1]. To save discussion settings, click the Save Settings button [2].
Note: Unchecking this option will restrict students from editing and deleting their own Discussion replies. This permission affects replies in new discussion topics, discussion replies, and discussions within course groups.