aboutsummaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Add an example for the new dropdownsRobin56052021-07-281-0/+63
|
* Add a new view example for link buttonsAy3552021-07-221-0/+39
|
* add persistent view in on_ready to avoid loop issuesNadir Chowdhury2021-06-291-16/+19
|
* Add examples for how to use viewsRapptz2021-06-295-0/+346
|
* Make on_ready examples consistentpikaninja2021-06-272-6/+2
|
* Fix some typos in custom_context exampleAman Kumar2021-06-021-6/+6
| | | Also adds PyNaCl PyPI link in README
* Fix AttributeError in examplesapple502j2021-04-272-2/+2
|
* make examples on_ready consistentpikaninja2021-04-098-20/+12
|
* Use f-strings in more places that were missed.Rapptz2021-04-083-7/+7
|
* Update joined command in basic_bot to use f-stringsN-i-c-k-0072021-04-081-1/+1
|
* Modernize code to use f-stringsRapptz2021-04-045-16/+16
| | | | | This also removes the encoding on the top, since Python 3 does it by default. It also changes some methods to use `yield from`.
* Rework the reaction roles exampleNadir Chowdhury2021-04-031-25/+27
|
* Bring back older background task example under a new nameRapptz2021-03-301-0/+28
|
* Fix background_task example to actually workRapptz2021-03-301-5/+4
|
* Update background_task example to use ext.tasksSebastian Law2021-03-301-9/+14
|
* Add converter exampleAlex Nørgaard2021-02-231-0/+113
|
* Add "Secret" channel/emoji example Nadir Chowdhury2021-02-211-0/+96
|
* Fix reaction_roles example logicByambadalai Sumiya2020-12-221-1/+1
|
* Add reaction roles exampleKippiii2020-12-031-0/+83
|
* Change reply example to use repliesSNVMK2020-11-281-1/+1
|
* Add intents to examplesZomatree2020-10-012-2/+13
|
* Add example on subclassing commands.ContextXua2020-01-241-0/+51
|
* Fix volume command in basic voice exampleGeroyuni2019-03-091-1/+1
| | | source.volume takes floating point percentages, e.g. 1.0 for 100%
* Remove outdated playlist.py example.Rapptz2019-03-081-246/+0
| | | | Fixes #1870
* Rework entire cog system and partially document it and extensions.Rapptz2019-02-231-1/+1
|
* Add missing asyncio imports from the examplesCapn2018-11-243-0/+3
|
* Remove deprecated ffmpeg/avconv flag from basic_voice examplePikalaxALT2018-08-221-1/+0
|
* Removes redundant asyncio importModelmat2018-08-223-3/+0
| | | | Not much point importing asyncio when it's not being used, it was there for when @asyncio.coroutine was used previously
* Update new member example to not be broken.Rapptz2018-08-221-1/+4
| | | | Took forever but better late than never.
* Improve basic_voice exampleDaniel2018-03-251-30/+34
| | | | | | Add stream option and command so we don't always have to download a file Move repeated voice check code to before_invoke hook Add typing indicators when making YTDLSources
* Fixed broken codeDaniel2017-07-071-2/+2
| | | I should have tested it.
* Add basic rewrite voice exampleDaniel2017-07-071-0/+132
|
* Make all public is_ functions into methods instead of properties.Rapptz2017-01-291-1/+1
|
* Re-add Client.wait_until_readyRapptz2017-01-291-1/+1
|
* Update examples to use the new generic wait_for.Rapptz2017-01-262-6/+10
|
* Update examples to match the new rewrite API.Rapptz2017-01-037-123/+112
|
* 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
|