powercord-community / suggestions

Repo where you can find and share plugin suggestions for Powercord
27 stars 4 forks source link

Time zone dependant timestamps #185

Open D4M5 opened 3 years ago

D4M5 commented 3 years ago

Description

The plugin would allow a user to locally store information on a user ID's time zone and then would display the time of their message in their respective time zone next to the local user's time zone.

More info

This plugin would be really useful for telling what time it is for a friend or any other user without having to calculate it and/or ask them every time, and the data about the time zones per user ID would be stored locally. A quick mock up of the idea has been provided below. image


randomzigzag commented 3 years ago

Working on this, this is my first time making a powercord plugin so don't expect much.

randomzigzag commented 3 years ago

Nevermind. I need to learn about how to correctly make plugins first. If you want to look at what I built to try to work on it, I put it into a gist.

D4M5 commented 3 years ago

It's fine, thanks for showing interest and attempting making it though!

TaiAurori commented 3 years ago

Hmm... I might take this up. I'll sleep on it.

TaiAurori commented 3 years ago

Alright, I'll take this one up. I'm not home yet, so I can't start immedately, but I'm definitely going to start sometime today.

TaiAurori commented 3 years ago

I'm having a bit of a problem now... We would need to access the message author object/id to test for anything, correct? The MessageTimestamp object doesn't have any information about the user (which, seems reasonable), and I can't find anything relating to MessageTimestamp in the message module's object itself. I'm a bit stuck at this point. I've only made one plugin that isn't itself that complex, so I probably just don't have the experience yet to tell what's needed.

TaiAurori commented 3 years ago

I'll have to drop this one too, I don't know any good solutions for this problem at the skill level I'm at as of now.

twnlink commented 3 years ago

@taikutsunan I don't think you can get the timezone of any users via Discord's API or anything like that. Maybe have it so you can set timezones on a per-user basis? I find the plugin would still be useful that way.

D4M5 commented 3 years ago

Just going to quickly note that it is exactly what I meant for the plugin to be. Locally stored time zone data for users, would still be very useful

MulverineX commented 3 years ago

@Cr3atable well obviously it would be usually manual. But pre-nuke we discussed options for making it partially automatic. Such as integrating with discord.bio, scanning their nickname for a (UTC-3), etc.

Also a tooltip over recognized dates in a message that use stored info as an additional feature would be neat.

Absolucy commented 3 years ago

I'm looking into this :)

jeffboy70 commented 3 years ago

Bump!

MulverineX commented 3 years ago

@jeffboy70

Please avoid "bumping" issues by posting "+1", or asking if someone's willing to work on it. It can be frustrating to wait for an issue to complete, but it is even more frustrating to send junk emails to everyone (and make Staff' triage work harder!).

readme