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:
endorphant
2016-05-15 02:04:02 -04:00
parent 1842901ce6
commit 4aa185a9cf
2 changed files with 4 additions and 16 deletions

View File

@@ -12,3 +12,6 @@ langfile.close()
def say(keyword):
return random.choice(LANG.get(keyword))
def month(num):
return LANG["months"].get(num)