Mads Marquart
d3a0ffc478
Fix logging
...
- Following advice here: https://docs.python.org/3/howto/logging.html#configuring-logging-for-a-library
- Renamed the logger: client -> fbchat
- Remove logging_level init parameter from Client
- Use print instead of log.info in examples
2019-08-28 22:27:29 +02:00
Mads Marquart
66505f8f41
Remove redundant encoding specifiers and __future__ imports
2019-08-28 21:57:46 +02:00
Mads Marquart
d20fc3b9ce
Format using black
(without string normalization)
2019-01-31 20:54:32 +01:00
Mads Marquart
95f018fad3
Fixed example Echobot
2018-03-19 21:40:51 +01:00
Mads Marquart
7ecf229db5
See commit description
...
- Deprecated `sendMessage` and `sendEmoji` in favor of `send`
- (Almost) Fully integrated attachment support
- Updated tests
- General cleanup
2017-10-21 17:59:44 +02:00
Mads Marquart
a58791048a
Added attachment and mention support in onMessage
...
Deprecated `message` in `onMessage`
2017-09-21 22:32:11 +02:00
Mads Marquart
39eafa5a3e
Fixed examples, added changeNickname
and changeThreadEmoji
, changed changeGroupTitle
back to changeThreadTitle
...
I also removed the parameter `set_default_events` from __init__, since
it's not really necessary
Also added testing of examples and simple testing of listen functions
2017-05-26 18:48:37 +02:00
Mads Marquart
d2741ca419
Added baseline for sphinx documentation and on2FACode
event
...
The docs are still very WIP, but they should be functional. Just
execute `make html` in the docs folder, and you should be able to
navigate to `/docs/_build/html` and view it in your browser
2017-05-26 13:38:54 +02:00