Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Birthdaybot with our own #603

Open
adrian-goe opened this issue Nov 25, 2021 · 2 comments
Open

Replace Birthdaybot with our own #603

adrian-goe opened this issue Nov 25, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@adrian-goe
Copy link
Member

adrian-goe commented Nov 25, 2021

We currently use birthday bot do give the birthday role.
Since we can now use cron, we want to do this in our bot now.

The Bot should check all 30 (maybe 15 -> Australia) mins, if a user has now his birthday. Be aware of the different time zones.

After 24h, the birthday role should be removed by the bot.

@adrian-goe adrian-goe added enhancement New feature or request good first issue Good for newcomers and removed good first issue Good for newcomers labels Nov 25, 2021
@adrian-goe
Copy link
Member Author

So we figured out, that we have stored some timezones in the database, but in text form. Some users don't have a timezone.

@mvarendorff
Copy link
Member

Going through that list, it appears that those users had their birthday set with an old version of the birthday command. I went through the list by hand and BirthdayBot reported not having birthday data for any of them.

Given that those members don't receive the Birthday role anyway atm, I don't mind still moving forward with this though. We should think about a way of notifying those members about the situation and ways to set their timezone and expect null values in the timezone field when implementing our own birthdaybot version.

@mvarendorff mvarendorff self-assigned this Apr 8, 2022
@mvarendorff mvarendorff removed their assignment Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants