-
Notifications
You must be signed in to change notification settings - Fork 0
Basic functions.
cookie0_o edited this page Mar 18, 2023
·
8 revisions
-
Import module:
command:from doomsday.clock import * -
Get status:
x = 0 - Full Resp. with extra text etc.
x = 1 - Resp. without extra information
x = 2 - Html Resp.
command:time = doomsday.time(type=x) -
Get clock image:
command:clock_img = doomsday.img()
-
Get status:
x seconds to midnight(minutes, hours)
still x seconds to midnight(minutes, hours) -
Get clock image:
https://upload.wikimedia.org/wikipedia/commons/thumb/f/f8/Doomsday_clock_%281.5_minutes%29.svg/120px-Doomsday_clock_%281.5_minutes%29.svg.png
