cms icon indicating copy to clipboard operation
cms copied to clipboard

Feature : Added the feature of sending the notification of latest video/note to discord

Open amanbairagi30 opened this issue 9 months ago • 4 comments

Problem Statement

Currently, whenever a new video is uploaded into the CMS, Harkirat has to update the Discord community about it. This process requires additional effort after posting the video in the CMS.

Solution

I have implemented a solution where whenever a new video or note is added from the CMS admin panel, a notification for that video or note can be seen in Discord. I have made this an optional choice. If moderators want to add a video/note without sending a notification to discord, they can do so. Additionally , I have provided a checkbox for this purpose . Along with that in discord message you can even go to that particular video /note location by clicking the link provided there .

You can see the changes below :

https://github.com/code100x/cms/assets/118182376/718a7f68-3209-468d-868c-11362fda194d

Checklist before requesting a review

  • [x] I have performed a self-review of my code
  • [x] I assure there is no similar/duplicate pull request regarding same issue

amanbairagi30 avatar Apr 28 '24 19:04 amanbairagi30

damn @amanbairagi30

TanmayDhobale avatar Apr 29 '24 13:04 TanmayDhobale

@hkirat Please review this PR .

amanbairagi30 avatar May 04 '24 16:05 amanbairagi30

great job, it was on my list but you did this add sending notification in Gmail or WhatsApp, any one which is cheaper

ichiragkumar avatar May 09 '24 21:05 ichiragkumar

great job, it was on my list but you did this add sending notification in Gmail or WhatsApp, any one which is cheaper

Initially, I too wanted to do that with Gmail but after researching a bit I got to know that it comes with a lot of cost so I decided to go with discord .

amanbairagi30 avatar May 10 '24 03:05 amanbairagi30

Closing because of some weird merge conflicts and raised a new PR at #601

amanbairagi30 avatar May 13 '24 06:05 amanbairagi30