mirror of
https://github.com/tildeclub/ttbp.git
synced 2026-06-22 12:19:23 +00:00
moved month printing to chatter
really, time.strftime should probably be used for this, but i got stuck on lowercase month names for consistency and would rather use my internal dict than lowercase the strftime return.
This commit is contained in:
@@ -12,3 +12,6 @@ langfile.close()
|
||||
def say(keyword):
|
||||
|
||||
return random.choice(LANG.get(keyword))
|
||||
|
||||
def month(num):
|
||||
return LANG["months"].get(num)
|
||||
|
||||
Reference in New Issue
Block a user