.format
This commit is contained in:
parent
2812569593
commit
7ab4f756fe
22 changed files with 69 additions and 78 deletions
|
@ -15,4 +15,4 @@ def ctcp_ping(inp, notice=None):
|
|||
|
||||
@hook.regex(r'^\x01TIME\x01$')
|
||||
def ctcp_time(inp, notice=None):
|
||||
notice('\x01TIME: The time is: %s' % time.strftime("%r", time.localtime()))
|
||||
notice('\x01TIME: The time is: {}'.format(time.strftime("%r", time.localtime())))
|
||||
|
|
Reference in a new issue