diff options
author | Julien Dessaux | 2013-11-10 09:58:07 +0100 |
---|---|---|
committer | Julien Dessaux | 2013-11-10 09:58:07 +0100 |
commit | 1e2d74064e26e327935f4bb38e575807aeeb7570 (patch) | |
tree | 689bf64283971abd3783a18a3b909088ffe93e64 | |
parent | Added help message for duck command (diff) | |
parent | Added timestamp to author on quotes module. (diff) | |
download | shbot-master.tar.gz shbot-master.tar.bz2 shbot-master.zip |
Added timestamp to author on quotes module.
Diffstat (limited to '')
-rw-r--r-- | shquote.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -5,8 +5,9 @@ if [ -n "$2" ]; then OWNER=$1 LEN=`expr ${#ARGS[*]}` QUOTE=${ARGS[@]:1:$LEN} + TIMESTAMP=`date +"%Y-%m-%d %H:%M UTC %z"` - echo "${OWNER}" >> shquote.txt + echo "${OWNER} ${TIMESTAMP}" >> shquote.txt echo "${QUOTE}" >> shquote.txt #elif [ -n "$1" ]; then # TODO : quote someone |