scarletcafe / jishaku

A debugging and testing cog for discord.py rewrite bots.
https://jishaku.readthedocs.io/en/latest/
MIT License
543 stars 182 forks source link

use discord timestamps in `[p]jsk cancel` #203

Closed owocado closed 1 year ago

owocado commented 1 year ago

Rationale

Greetings,

This PR changes the output of [p]jsk cancel command to use new discord timestamps for showing tasks's invoked time; the reason for proposing this change is discord timestamps show time in user's local time from my understanding and so it is easier to visualize or process (at a glance) in our mind than the current strftime format. Please let me know what is your opinion on this. Thanks for reading!

I used relative style ('R') for timestamps, please let me know if other style would be more suitable instead.

Summary of changes made

With this PR, the output of [p]jsk cancel command would show the invoked task's created value as new discord timestamps like so: image

Checklist