AFR-640 Add datetime.datetime
and datetime.timedelta
to aliasing context,
#1277
Labels
Projects
datetime.datetime
and datetime.timedelta
to aliasing context,
#1277
Feature Request: Add
datetime.datetime
anddatetime.timedelta
to aliasing context,Who would use it? Anyone who is making aliasing involving time (downtime, cooldowns, etc)
What part of the bot? Aliasing
How would it work? Exposing the datetime and timedelta classes could use their functionality like
datetime.now() + datetime.timedelta(days=1)
to fetch one day from nowWhy should this be added? It would make working with time much easier and would allow us to avoid using complex calculations to get the date based off the current
time()
Votes: +18 / -0
The text was updated successfully, but these errors were encountered: