Rapptz
abeea73734
Fix remaining things not explicitly passing the intents kwarg
2022-04-05 23:15:40 -04:00
Rapptz
8591cfc5e7
Run black on all examples and require it for CI
2022-03-24 23:40:59 -04:00
Rapptz
c95c163266
Fix background task examples
2022-03-14 06:08:54 -04:00
pikaninja
1952060e1a
make examples on_ready consistent
2021-04-09 18:05:33 -04:00
Rapptz
e359aeb122
Fix background_task example to actually work
2021-03-30 20:28:41 -04:00
Sebastian Law
5ed47cacc7
Update background_task example to use ext.tasks
2021-03-30 20:24:28 -04:00
Capn
dd5762d9ed
Add missing asyncio imports from the examples
2018-11-24 22:17:58 -05:00
Modelmat
1436af3b18
Removes redundant asyncio import
...
Not much point importing asyncio when it's not being used, it was there for when @asyncio.coroutine was used previously
2018-08-22 21:06:09 -04:00
Rapptz
e77012f4d9
Make all public is_ functions into methods instead of properties.
2017-01-29 20:53:17 -05:00
Rapptz
8c896e9fbc
Re-add Client.wait_until_ready
2017-01-29 20:33:48 -05:00
Rapptz
1e09432c45
Update examples to use the new generic wait_for.
2017-01-26 04:30:47 -05:00
Rapptz
f8a5d890fe
Update examples to match the new rewrite API.
2017-01-03 20:58:11 -05:00
Rapptz
d914c0a4e4
Clarify on_ready
triggering more than twice.
...
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`.
2016-06-10 20:16:21 -04:00
Rapptz
72e84a1b47
Change all email/password pair examples to use token.
2016-04-08 22:02:38 -04:00
Rapptz
2ebfbbe471
Examples now use Python 3.5. Remove echo.py example.
2016-01-06 11:34:49 -05:00
Rapptz
bee044629d
Add background_task example to showcase background tasks.
2015-12-19 20:40:06 -05:00