phloo if you want to put your button in this menu
Then you can directly copy the code from subscribe that extends DiscussionControls
. The line I linked is responsible for the "Follow" button on my screenshot.
There's nothing named flarum/components/discussion-list-item
. If that's really the component you need, the import will be called flarum/components/DiscussionListItem
.