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!"
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.