Hello fellow Discourse users,
I’m currently attempting to build upon an already existing plugin called ‘discourse-chat-integration’ for which I’ve forked and attempted to customize for a certain community but I’m having a wee mind blank. How would I specifically test if it’s a post or thread? I’m trying to build two seperate notification blocks, one for a post and another for a thread.
I have attempted to find it already with ‘post_number’ but it doesn’t seem to work. Any ideas? Thank you.
GitHub Link: https://github.com/jackkelly-bayliss/invictus-discourse-chat-integration
File Name: https://github.com/jackkelly-bayliss/invictus-discourse-chat-integration/blob/master/lib/discourse_chat/provider/discord/discord_provider.rb