aboutsummaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
authorParker <contact@pkrm.dev>2024-11-28 00:04:48 -0600
committerParker <contact@pkrm.dev>2024-11-28 00:04:48 -0600
commit382c42262954767acc3f5ee3e008e03acbfc4f26 (patch)
tree1617f4cf15e349d34408f71b07032ea7a6ba6594 /test.py
parent5eb665c99b1fcfaf9500daf7811f835d002e078e (diff)
Overhaul \`play\` command
- Split custom sources into helper functions - Add proper logging and handling - Fix LoadError embed messsage
Diffstat (limited to 'test.py')
-rw-r--r--test.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/test.py b/test.py
new file mode 100644
index 0000000..8b4d325
--- /dev/null
+++ b/test.py
@@ -0,0 +1,11 @@
+import datetime
+
+now = datetime.datetime.now(datetime.timezone.utc).strftime(
+ "%Y-%m-%d %H:%M:%S"
+)
+
+import time
+
+print(now)
+time.sleep(2)
+print(now)