mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Add $today as advertised in Utilities.echo
This commit is contained in:
parent
b099b66272
commit
96754b8f4b
@ -404,6 +404,7 @@ def standardSubstitute(irc, msg, text, env=None):
|
|||||||
'randnick': randNick, 'randomnick': randNick,
|
'randnick': randNick, 'randomnick': randNick,
|
||||||
'randdate': randDate, 'randomdate': randDate,
|
'randdate': randDate, 'randomdate': randDate,
|
||||||
'rand': randInt, 'randint': randInt, 'randomint': randInt,
|
'rand': randInt, 'randint': randInt, 'randomint': randInt,
|
||||||
|
'today': time.strftime('%d %b %Y', localtime),
|
||||||
'year': localtime[0],
|
'year': localtime[0],
|
||||||
'month': localtime[1],
|
'month': localtime[1],
|
||||||
'monthname': time.strftime('%b', localtime),
|
'monthname': time.strftime('%b', localtime),
|
||||||
|
Loading…
Reference in New Issue
Block a user