Real-Dev-Squad / discord-slash-commands

MIT License
4 stars 26 forks source link

feat/oooCommand: added basic ooo command changes #107

Closed palakgupta2712 closed 1 year ago

palakgupta2712 commented 1 year ago

Closes: https://github.com/Real-Dev-Squad/discord-slash-commands/issues/108

have added /ooo command take will give us the data of out-of-office user.

using https://github.com/Real-Dev-Squad/website-backend/pull/1411 will get the userData using discordId, then will be using userId to get the status of the data. if user has current/future status as OOO then it will show the message in the following format.


July 8 - July 9
Attending React Nexus confernce

(additional notes: Will be checking in from time to time)

(Upcoming)
July 28 - Aug 10
Vacation to Bahamas```

Otherwise, it will show, "No data found!"
sahsisunny commented 1 year ago

Add test coverage of your changes and link issue ticket as well.

Pratiyushkumar commented 1 year ago

Also please write some proper description, add screenshots and demo video for the reference