TurqW / LongSphinx

Discord bot made to help with role management and RPG playing. Name inspired by the Terra Ignota series by Ada Palmer.
5 stars 3 forks source link

Birthday Reminders #97

Open diziara opened 3 years ago

diziara commented 3 years ago

The ability for a user to input their birthday month and day, and have the bot make a happy birthday post for any birthday/s at a specified time of day, once per day. Probably should be cross server, but maybe poll potential users or offer a flag to specify if they want to share cross server or just on the server they're inputting from for privacy reasons.

Command might look like: !bday Aug 20

Bonus points if it can parse both month or day first as long as the month is spelled out, and use either the three letter or full length month.

Double bonus points if you can use the new bot button feature.

Triple bonus points if there is a way to request a list of known birthdays either by month, or all inputted (pagination if guild is large enough).

diziara commented 2 years ago

Further discussion has lead to wanting to have the bot read an external calendar, which can be managed by the server owner or people designated by the server owner. Then have the bot read the calendar for events that take place in the next 24 hours, posting them as a list if they're whole day events, or scheduling a message at the event time later in the day.

TurqW commented 2 years ago

Initial investigation points to NextCloud and Google Calendars both being compatible with the CalDAV API. I should be able to find a python library for that.