aboutsummaryrefslogtreecommitdiff
path: root/examples/edits.py
Commit message (Collapse)AuthorAgeFilesLines
* make examples on_ready consistentpikaninja2021-04-091-2/+2
|
* Use f-strings in more places that were missed.Rapptz2021-04-081-3/+3
|
* Add missing asyncio imports from the examplesCapn2018-11-241-0/+1
|
* Removes redundant asyncio importModelmat2018-08-221-1/+0
| | | | Not much point importing asyncio when it's not being used, it was there for when @asyncio.coroutine was used previously
* Update examples to match the new rewrite API.Rapptz2017-01-031-17/+13
|
* Change all email/password pair examples to use token.Rapptz2016-04-081-1/+1
|
* Examples now use Python 3.5. Remove echo.py example.Rapptz2016-01-061-10/+10
|
* Update example code.Rapptz2015-12-061-10/+10
|
* Simplify examples to no longer use logging or Client.is_logged_inRapptz2015-11-261-8/+0
| | | | | | | | | | | The logging module is no longer required to get diagnostic output since we use `stderr` by default regardless of the logging module. Which means that the logging module will only give a more verbose output than is necessary. Client.is_logged_in checking is no longer necessary since all HTTP request handling now raise an exception if they fail so those chunks are also gone.
* Set up logging module in examplesHornwitser2015-10-061-0/+4
| | | | | | | | Without setting up the logging module, a god number of error conditions and warnings will never be output by the library. This is a common pitfall to forget and it's not documented good enough the consequences of not setting up the logging module when developing applications with this library.
* Add handling of login failure in examplesHornwitser2015-10-061-0/+4
| | | | | | Check and handle login failure in the examples provided for using this library. This is a common error condition that should be handled by any script using this library.
* Add the ability to edit messages.Rapptz2015-08-211-0/+8
|
* Add on_message_edit event.Rapptz2015-08-211-0/+16