Check the Attach files to discussions checkbox.
Note: Unchecking this option will restrict students from attaching files within Discussions. This permission affects posts in new discussion topics, discussion replies, and discussions within course groups.