rewrite: Initial rewrite skeleton.
Remove modules that will no longer be required. Move pending modules to pending-rewrite folders.
This commit is contained in:
8
bot/modules/pending-rewrite/accountability/lib.py
Normal file
8
bot/modules/pending-rewrite/accountability/lib.py
Normal file
@@ -0,0 +1,8 @@
|
||||
import datetime
|
||||
|
||||
|
||||
def utc_now():
|
||||
"""
|
||||
Return the current timezone-aware utc timestamp.
|
||||
"""
|
||||
return datetime.datetime.utcnow().replace(tzinfo=datetime.timezone.utc)
|
||||
Reference in New Issue
Block a user