aboutsummaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Clarify `on_ready` triggering more than twice.Rapptz2016-06-101-10/+2
| | | | | | On that note, fix the background_task example to use `Client.run` instead of manual loop management. That way the task will be cleaned up and cancelled inside `Client.run`.
* Rework playlist example to work with multi-server voice.Rapptz2016-05-121-80/+223
|
* Change all email/password pair examples to use token.Rapptz2016-04-088-8/+8
|
* Fix bug where playlist bot attempts to process replies in PMs.shrx2016-03-021-10/+10
|
* Basic bot example now shows documenting for the built-in help command.Rapptz2016-01-121-5/+19
|
* Examples now use Python 3.5. Remove echo.py example.Rapptz2016-01-068-80/+61
|
* Add basic example bot showcasing the commands ext module.Rapptz2016-01-051-0/+51
|
* Add guessing game example to showcase wait_for_message.Rapptz2015-12-191-0/+37
|
* Add voice playlist example code.Rapptz2015-12-191-0/+105
|
* Add background_task example to showcase background tasks.Rapptz2015-12-191-0/+32
|
* Updated examples to use new properties.Rapptz2015-12-192-4/+4
|
* Update example code.Rapptz2015-12-065-33/+32
|
* Add new_member.py example to showcase messaging new members.Rapptz2015-11-271-0/+18
|
* reply.py example now checks for self-authoringRapptz2015-11-271-0/+4
|
* Simplify examples to no longer use logging or Client.is_logged_inRapptz2015-11-264-32/+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-064-0/+16
| | | | | | | | 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-064-0/+16
| | | | | | 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.
* Make reply example a bit more meaningful.Rapptz2015-10-051-1/+1
|
* Fix echo example to not infinitely loop.Rapptz2015-10-051-1/+2
|
* Add the ability to edit messages.Rapptz2015-08-211-0/+8
|
* Add on_message_edit event.Rapptz2015-08-211-0/+16
|
* Add the ability to delete messagesRapptz2015-08-211-0/+6
|
* Add on_message_delete event and Client.messages attribute.Rapptz2015-08-211-0/+16
|
* Add some examplesRapptz2015-08-212-0/+34