Midnight-Cafe / lacus

Moderation bot
1 stars 4 forks source link

Timezone Converter #23

Closed jyorien closed 3 years ago

jyorien commented 3 years ago

Description

Timezone converter for the bot so that we can see what time are Weekly Syncs in our own timezones

Acceptance Criteria

pk400 commented 3 years ago

I think this would be great, for me personally to help organize the events better and for the rest of the community! Can we make it support having many events (not just Weekly Syncs) with each their own scheduled date and time?

Example:

breeze.astraea.systems: !events add "Weekly Sync" <timestamp> <timezone>
Lacus: "Weekly Sync" scheduled for <timestamp> <timezone>

Ideally would be an ISO 8601 timestamp and would be something like America/Vancouver. It should also automatically remove itself after the event has passed.

Not sure if there are any better ways to make this a command, this is just the first thing that came to my head.

jyorien commented 3 years ago

I think this would be great, for me personally to help organize the events better and for the rest of the community!

It should also automatically remove itself after the event has passed.

Saving an event and auto deleting it sounds great feature, we could even make reminders out of the saved events, however would that be considered a separate issue? For this issue, would it be enough just to get the timezone conversion working? e.g. like this fff6c20

pk400 commented 3 years ago

Yup that sounds good let's do that in a separate ticket. Your PR looks good so far, its a draft atm so let me know when its ready for a review and I can take a look again.