Commit Graph

7 Commits

Author SHA1 Message Date
Lucio Andrés Illanes Albornoz 75e8e5fdf0 pngbot.py:IrcMiRCARTBot.uploadToImgur(): split from dispatch().
pngbot.py:IrcMiRCARTBot.dispatch(): only os.remove() if target file exists.
2018-01-02 22:40:46 +01:00
Lucio Andrés Illanes Albornoz 4556f8b238 pngbot.py: set +x bit. 2018-01-02 22:25:00 +01:00
Lucio Andrés Illanes Albornoz 4f56b9c783 pngbot.py: splits main into class IrcMiRCARTBot.
pngbot.py:IrcBot.close(): only close() clientSocket if non-None.
pngbot.py:IrcMiRCARTBot.connect(): correctly zero-initialise clientLastMessage.
pngbot.py:IrcMiRCARTBot.dispatch(): fix imgurResponseHttp.status_code reference.
2018-01-02 22:20:20 +01:00
Lucio Andrés Illanes Albornoz 4c5755d2fc pngbot.py: rate-limit `!pngbot' processing to once (1) each 45 seconds. 2018-01-02 22:02:36 +01:00
Lucio Andrés Illanes Albornoz e091920bda pngbot.py: handle HTTP status codes differing from 200.
pngbot.py: update IRC message text.
2018-01-02 21:57:21 +01:00
Lucio Andrés Illanes Albornoz b94d3afdb5 pngbot.py: convert to lower case when comparing channel names. 2018-01-02 21:54:02 +01:00
Lucio Andrés Illanes Albornoz 5f4aa470b9 README.md: add pngbot.py prerequisites.
pngbot.py: initial commit (requires python3-{json,requests,urllib3}.)
2018-01-02 20:51:32 +01:00